Title: [8784] trunk/drivers/staging/iio/light/tsl2563.c: staging:iio:tsl2563: change lux to illuminance0_input to match new abi
Revision
8784
Author
vapier
Date
2010-05-22 23:43:03 -0400 (Sat, 22 May 2010)

Log Message

staging:iio:tsl2563: change lux to illuminance0_input to match new abi

From: Jonathan Cameron <[email protected]>

Modified Paths

Diff

Modified: trunk/drivers/staging/iio/light/tsl2563.c (8783 => 8784)


--- trunk/drivers/staging/iio/light/tsl2563.c	2010-05-23 03:42:42 UTC (rev 8783)
+++ trunk/drivers/staging/iio/light/tsl2563.c	2010-05-23 03:43:03 UTC (rev 8784)
@@ -592,7 +592,7 @@
  * once I understand what they mean */
 static DEVICE_ATTR(adc0, S_IRUGO, tsl2563_adc0_show, NULL);
 static DEVICE_ATTR(adc1, S_IRUGO, tsl2563_adc1_show, NULL);
-static DEVICE_ATTR(lux, S_IRUGO, tsl2563_lux_show, NULL);
+static DEVICE_ATTR(illuminance0_input, S_IRUGO, tsl2563_lux_show, NULL);
 static DEVICE_ATTR(calib0, S_IRUGO | S_IWUSR,
 		   tsl2563_calib0_show, tsl2563_calib0_store);
 static DEVICE_ATTR(calib1, S_IRUGO | S_IWUSR,
@@ -601,7 +601,7 @@
 static struct attribute *tsl2563_attributes[] = {
 	&dev_attr_adc0.attr,
 	&dev_attr_adc1.attr,
-	&dev_attr_lux.attr,
+	&dev_attr_illuminance0_input.attr,
 	&dev_attr_calib0.attr,
 	&dev_attr_calib1.attr,
 	NULL
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to