diff options
author | Lars Engebretsen <lars@engebretsen.ch> | 2020-04-15 12:10:43 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-04-19 17:50:02 +0100 |
commit | a07479147be03d2450376ebaff9ea1a0682f25d6 (patch) | |
tree | 5d50a20c1b1ec8d358a4183f39ebc7688821ee90 /include | |
parent | dd7de4c0023e7564cabe39d64b2822a522890792 (diff) | |
download | linux-stable-a07479147be03d2450376ebaff9ea1a0682f25d6.tar.gz linux-stable-a07479147be03d2450376ebaff9ea1a0682f25d6.tar.bz2 linux-stable-a07479147be03d2450376ebaff9ea1a0682f25d6.zip |
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: 63b19547cc3d9 ("iio: Use macro magic to avoid manual assign of driver_module")
Signed-off-by: Lars Engebretsen <lars@engebretsen.ch>
Cc: <Stable@vger.kernel.org>
Reviewed-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/iio/iio.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/iio/iio.h b/include/linux/iio/iio.h index eed58ed2f368..4e7848415c4f 100644 --- a/include/linux/iio/iio.h +++ b/include/linux/iio/iio.h @@ -600,7 +600,7 @@ void iio_device_unregister(struct iio_dev *indio_dev); * 0 on success, negative error number on failure. */ #define devm_iio_device_register(dev, indio_dev) \ - __devm_iio_device_register((dev), (indio_dev), THIS_MODULE); + __devm_iio_device_register((dev), (indio_dev), THIS_MODULE) int __devm_iio_device_register(struct device *dev, struct iio_dev *indio_dev, struct module *this_mod); void devm_iio_device_unregister(struct device *dev, struct iio_dev *indio_dev); |