From: Jonathan Cameron Date: Sun, 23 Jul 2017 16:26:19 +0000 (+0100) Subject: input: tsc2007 - drop the driver_module assignment in iio interface. X-Git-Tag: rel_imx_4.19.35_1.1.0~11324^2~273^2~37 X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=4749b0a28feddeaeffa8044cd3ae1711cc15c8da;p=linux.git input: tsc2007 - drop the driver_module assignment in iio interface. This is now handled via some macro magic during the register. The field in iio_info will be removed shortly. Cc: Linux Input Acked-by: Dmitry Torokhov Reviewed-by: Lars-Peter Clausen Signed-off-by: Jonathan Cameron --- diff --git a/drivers/input/touchscreen/tsc2007_iio.c b/drivers/input/touchscreen/tsc2007_iio.c index 27b25a9fce83..e27a956f5f2b 100644 --- a/drivers/input/touchscreen/tsc2007_iio.c +++ b/drivers/input/touchscreen/tsc2007_iio.c @@ -104,7 +104,6 @@ static int tsc2007_read_raw(struct iio_dev *indio_dev, static const struct iio_info tsc2007_iio_info = { .read_raw = tsc2007_read_raw, - .driver_module = THIS_MODULE, }; int tsc2007_iio_configure(struct tsc2007 *ts)