mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 18:09:56 +00:00
iio: core: remove extra semi-colon from devm_iio_device_register() macro
commita07479147bupstream. This change removes the semi-colon from the devm_iio_device_register() macro which seems to have been added by accident. Fixes:63b19547cc("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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
c1d5512740
commit
31bd416b0e
@@ -598,7 +598,7 @@ void iio_device_unregister(struct iio_dev *indio_dev);
|
|||||||
* 0 on success, negative error number on failure.
|
* 0 on success, negative error number on failure.
|
||||||
*/
|
*/
|
||||||
#define devm_iio_device_register(dev, indio_dev) \
|
#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,
|
int __devm_iio_device_register(struct device *dev, struct iio_dev *indio_dev,
|
||||||
struct module *this_mod);
|
struct module *this_mod);
|
||||||
void devm_iio_device_unregister(struct device *dev, struct iio_dev *indio_dev);
|
void devm_iio_device_unregister(struct device *dev, struct iio_dev *indio_dev);
|
||||||
|
|||||||
Reference in New Issue
Block a user