staging: iio: frequency: remove unnecessary semicolon
authorRoxana Blaj <roxanagabriela10@gmail.com>
Thu, 25 Sep 2014 07:36:20 +0000 (10:36 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 29 Sep 2014 02:19:04 +0000 (22:19 -0400)
This fixes the checkpatch.pl warning:
WARNING: macros should not use a trailing semicolon

Signed-off-by: Roxana Blaj <roxanagabriela10@gmail.com>
Acked-by: Daniel Baluta <daniel.baluta@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/iio/frequency/dds.h

index c3342f6e052b01d1bb12f28aeb47be7c252eb50d..611e2b0cfc4cde3614080f07ff8018fd2dbb702f 100644 (file)
@@ -27,7 +27,7 @@
 
 #define IIO_DEV_ATTR_FREQSYMBOL(_channel, _mode, _show, _store, _addr) \
        IIO_DEVICE_ATTR(out_altvoltage##_channel##_frequencysymbol,     \
-                       _mode, _show, _store, _addr);
+                       _mode, _show, _store, _addr)
 
 /**
  * /sys/bus/iio/devices/.../out_altvoltageX_phaseY
@@ -50,7 +50,7 @@
 
 #define IIO_DEV_ATTR_PHASESYMBOL(_channel, _mode, _show, _store, _addr)        \
        IIO_DEVICE_ATTR(out_altvoltage##_channel##_phasesymbol,         \
-                       _mode, _show, _store, _addr);
+                       _mode, _show, _store, _addr)
 
 /**
  * /sys/bus/iio/devices/.../out_altvoltageX_pincontrol_en
@@ -58,7 +58,7 @@
 
 #define IIO_DEV_ATTR_PINCONTROL_EN(_channel, _mode, _show, _store, _addr)\
        IIO_DEVICE_ATTR(out_altvoltage##_channel##_pincontrol_en,       \
-                       _mode, _show, _store, _addr);
+                       _mode, _show, _store, _addr)
 
 /**
  * /sys/bus/iio/devices/.../out_altvoltageX_pincontrol_frequency_en
@@ -66,7 +66,7 @@
 
 #define IIO_DEV_ATTR_PINCONTROL_FREQ_EN(_channel, _mode, _show, _store, _addr)\
        IIO_DEVICE_ATTR(out_altvoltage##_channel##_pincontrol_frequency_en,\
-                       _mode, _show, _store, _addr);
+                       _mode, _show, _store, _addr)
 
 /**
  * /sys/bus/iio/devices/.../out_altvoltageX_pincontrol_phase_en
@@ -74,7 +74,7 @@
 
 #define IIO_DEV_ATTR_PINCONTROL_PHASE_EN(_channel, _mode, _show, _store, _addr)\
        IIO_DEVICE_ATTR(out_altvoltage##_channel##_pincontrol_phase_en, \
-                       _mode, _show, _store, _addr);
+                       _mode, _show, _store, _addr)
 
 /**
  * /sys/bus/iio/devices/.../out_altvoltageX_out_enable
@@ -82,7 +82,7 @@
 
 #define IIO_DEV_ATTR_OUT_ENABLE(_channel, _mode, _show, _store, _addr) \
        IIO_DEVICE_ATTR(out_altvoltage##_channel##_out_enable,          \
-                       _mode, _show, _store, _addr);
+                       _mode, _show, _store, _addr)
 
 /**
  * /sys/bus/iio/devices/.../out_altvoltageX_outY_enable
@@ -91,7 +91,7 @@
 #define IIO_DEV_ATTR_OUTY_ENABLE(_channel, _output,                    \
                        _mode, _show, _store, _addr)                    \
        IIO_DEVICE_ATTR(out_altvoltage##_channel##_out##_output##_enable,\
-                       _mode, _show, _store, _addr);
+                       _mode, _show, _store, _addr)
 
 /**
  * /sys/bus/iio/devices/.../out_altvoltageX_outY_wavetype
@@ -99,7 +99,7 @@
 
 #define IIO_DEV_ATTR_OUT_WAVETYPE(_channel, _output, _store, _addr)    \
        IIO_DEVICE_ATTR(out_altvoltage##_channel##_out##_output##_wavetype,\
-                       S_IWUSR, NULL, _store, _addr);
+                       S_IWUSR, NULL, _store, _addr)
 
 /**
  * /sys/bus/iio/devices/.../out_altvoltageX_outY_wavetype_available
 
 #define IIO_CONST_ATTR_OUT_WAVETYPES_AVAILABLE(_channel, _output, _modes)\
        IIO_CONST_ATTR(                                                 \
-       out_altvoltage##_channel##_out##_output##_wavetype_available, _modes);
+       out_altvoltage##_channel##_out##_output##_wavetype_available, _modes)