Skip to content

Commit a074791

Browse files
krepostjic23
authored andcommitted
iio: core: remove extra semi-colon from devm_iio_device_register() macro
This change removes the semi-colon from the devm_iio_device_register() macro which seems to have been added by accident. Fixes: 63b1954 ("iio: Use macro magic to avoid manual assign of driver_module") Signed-off-by: Lars Engebretsen <[email protected]> Cc: <[email protected]> Reviewed-by: Alexandru Ardelean <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
1 parent dd7de4c commit a074791

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/linux/iio/iio.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ void iio_device_unregister(struct iio_dev *indio_dev);
600600
* 0 on success, negative error number on failure.
601601
*/
602602
#define devm_iio_device_register(dev, indio_dev) \
603-
__devm_iio_device_register((dev), (indio_dev), THIS_MODULE);
603+
__devm_iio_device_register((dev), (indio_dev), THIS_MODULE)
604604
int __devm_iio_device_register(struct device *dev, struct iio_dev *indio_dev,
605605
struct module *this_mod);
606606
void devm_iio_device_unregister(struct device *dev, struct iio_dev *indio_dev);

0 commit comments

Comments
 (0)