From: Roxana Blaj Date: Thu, 25 Sep 2014 07:36:20 +0000 (+0300) Subject: staging: iio: frequency: remove unnecessary semicolon X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7bf6513eeb51d1ae0a2a9b820368c13e55f44835;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git staging: iio: frequency: remove unnecessary semicolon This fixes the checkpatch.pl warning: WARNING: macros should not use a trailing semicolon Signed-off-by: Roxana Blaj Acked-by: Daniel Baluta Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/iio/frequency/dds.h b/drivers/staging/iio/frequency/dds.h index c3342f6e052b..611e2b0cfc4c 100644 --- a/drivers/staging/iio/frequency/dds.h +++ b/drivers/staging/iio/frequency/dds.h @@ -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 @@ -107,4 +107,4 @@ #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)