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 <roxanagabriela10@gmail.com> Acked-by: Daniel Baluta <daniel.baluta@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
f6077f4397
commit
7bf6513eeb
|
@ -27,7 +27,7 @@
|
||||||
|
|
||||||
#define IIO_DEV_ATTR_FREQSYMBOL(_channel, _mode, _show, _store, _addr) \
|
#define IIO_DEV_ATTR_FREQSYMBOL(_channel, _mode, _show, _store, _addr) \
|
||||||
IIO_DEVICE_ATTR(out_altvoltage##_channel##_frequencysymbol, \
|
IIO_DEVICE_ATTR(out_altvoltage##_channel##_frequencysymbol, \
|
||||||
_mode, _show, _store, _addr);
|
_mode, _show, _store, _addr)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* /sys/bus/iio/devices/.../out_altvoltageX_phaseY
|
* /sys/bus/iio/devices/.../out_altvoltageX_phaseY
|
||||||
|
@ -50,7 +50,7 @@
|
||||||
|
|
||||||
#define IIO_DEV_ATTR_PHASESYMBOL(_channel, _mode, _show, _store, _addr) \
|
#define IIO_DEV_ATTR_PHASESYMBOL(_channel, _mode, _show, _store, _addr) \
|
||||||
IIO_DEVICE_ATTR(out_altvoltage##_channel##_phasesymbol, \
|
IIO_DEVICE_ATTR(out_altvoltage##_channel##_phasesymbol, \
|
||||||
_mode, _show, _store, _addr);
|
_mode, _show, _store, _addr)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* /sys/bus/iio/devices/.../out_altvoltageX_pincontrol_en
|
* /sys/bus/iio/devices/.../out_altvoltageX_pincontrol_en
|
||||||
|
@ -58,7 +58,7 @@
|
||||||
|
|
||||||
#define IIO_DEV_ATTR_PINCONTROL_EN(_channel, _mode, _show, _store, _addr)\
|
#define IIO_DEV_ATTR_PINCONTROL_EN(_channel, _mode, _show, _store, _addr)\
|
||||||
IIO_DEVICE_ATTR(out_altvoltage##_channel##_pincontrol_en, \
|
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
|
* /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)\
|
#define IIO_DEV_ATTR_PINCONTROL_FREQ_EN(_channel, _mode, _show, _store, _addr)\
|
||||||
IIO_DEVICE_ATTR(out_altvoltage##_channel##_pincontrol_frequency_en,\
|
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
|
* /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)\
|
#define IIO_DEV_ATTR_PINCONTROL_PHASE_EN(_channel, _mode, _show, _store, _addr)\
|
||||||
IIO_DEVICE_ATTR(out_altvoltage##_channel##_pincontrol_phase_en, \
|
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
|
* /sys/bus/iio/devices/.../out_altvoltageX_out_enable
|
||||||
|
@ -82,7 +82,7 @@
|
||||||
|
|
||||||
#define IIO_DEV_ATTR_OUT_ENABLE(_channel, _mode, _show, _store, _addr) \
|
#define IIO_DEV_ATTR_OUT_ENABLE(_channel, _mode, _show, _store, _addr) \
|
||||||
IIO_DEVICE_ATTR(out_altvoltage##_channel##_out_enable, \
|
IIO_DEVICE_ATTR(out_altvoltage##_channel##_out_enable, \
|
||||||
_mode, _show, _store, _addr);
|
_mode, _show, _store, _addr)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* /sys/bus/iio/devices/.../out_altvoltageX_outY_enable
|
* /sys/bus/iio/devices/.../out_altvoltageX_outY_enable
|
||||||
|
@ -91,7 +91,7 @@
|
||||||
#define IIO_DEV_ATTR_OUTY_ENABLE(_channel, _output, \
|
#define IIO_DEV_ATTR_OUTY_ENABLE(_channel, _output, \
|
||||||
_mode, _show, _store, _addr) \
|
_mode, _show, _store, _addr) \
|
||||||
IIO_DEVICE_ATTR(out_altvoltage##_channel##_out##_output##_enable,\
|
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
|
* /sys/bus/iio/devices/.../out_altvoltageX_outY_wavetype
|
||||||
|
@ -99,7 +99,7 @@
|
||||||
|
|
||||||
#define IIO_DEV_ATTR_OUT_WAVETYPE(_channel, _output, _store, _addr) \
|
#define IIO_DEV_ATTR_OUT_WAVETYPE(_channel, _output, _store, _addr) \
|
||||||
IIO_DEVICE_ATTR(out_altvoltage##_channel##_out##_output##_wavetype,\
|
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
|
* /sys/bus/iio/devices/.../out_altvoltageX_outY_wavetype_available
|
||||||
|
@ -107,4 +107,4 @@
|
||||||
|
|
||||||
#define IIO_CONST_ATTR_OUT_WAVETYPES_AVAILABLE(_channel, _output, _modes)\
|
#define IIO_CONST_ATTR_OUT_WAVETYPES_AVAILABLE(_channel, _output, _modes)\
|
||||||
IIO_CONST_ATTR( \
|
IIO_CONST_ATTR( \
|
||||||
out_altvoltage##_channel##_out##_output##_wavetype_available, _modes);
|
out_altvoltage##_channel##_out##_output##_wavetype_available, _modes)
|
||||||
|
|
Loading…
Reference in New Issue