Title: [8694] trunk/drivers/misc/ad525x_dpot.c: ad525x_dpot: dont put semicolons after function bodies
Revision
8694
Author
vapier
Date
2010-05-09 05:48:16 -0400 (Sun, 09 May 2010)

Log Message

ad525x_dpot: dont put semicolons after function bodies

Modified Paths


Diff

Modified: trunk/drivers/misc/ad525x_dpot.c (8693 => 8694)


--- trunk/drivers/misc/ad525x_dpot.c	2010-05-09 08:46:20 UTC (rev 8693)
+++ trunk/drivers/misc/ad525x_dpot.c	2010-05-09 09:48:16 UTC (rev 8694)
@@ -422,7 +422,7 @@
 			  struct device_attribute *attr, char *buf) \
 { \
 	return sysfs_show_reg(dev, attr, buf, _reg); \
-};
+}
 
 #define DPOT_DEVICE_SET(_name, _reg) static ssize_t \
 set_##_name(struct device *dev, \
@@ -430,7 +430,7 @@
 			 const char *buf, size_t count) \
 { \
 	return sysfs_set_reg(dev, attr, buf, count, _reg); \
-};
+}
 
 #define DPOT_DEVICE_SHOW_SET(name, reg) \
 DPOT_DEVICE_SHOW(name, reg) \
@@ -535,7 +535,7 @@
 			 const char *buf, size_t count) \
 { \
 	return sysfs_do_cmd(dev, attr, buf, count, _cmd); \
-}; \
+} \
 static DEVICE_ATTR(_name, S_IWUSR | S_IRUGO, NULL, set_##_name);
 
 DPOT_DEVICE_DO_CMD(inc_all, DPOT_INC_ALL);
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to