lkml.org 
[lkml]   [2020]   [Apr]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 5.6 081/167] iio: core: remove extra semi-colon from devm_iio_device_register() macro
    Date
    From: Lars Engebretsen <lars@engebretsen.ch>

    commit a07479147be03d2450376ebaff9ea1a0682f25d6 upstream.

    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>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

    ---
    include/linux/iio/iio.h | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    --- a/include/linux/iio/iio.h
    +++ b/include/linux/iio/iio.h
    @@ -598,7 +598,7 @@ void iio_device_unregister(struct iio_de
    * 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);

    \
     
     \ /
      Last update: 2020-04-28 20:33    [W:2.741 / U:0.220 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site