diff mbox

[36/38] input: tsc2007 - drop the driver_module assignment in iio interface.

Message ID 20170529155154.22580-37-jic23@kernel.org (mailing list archive)
State New, archived
Headers show

Commit Message

Jonathan Cameron May 29, 2017, 3:51 p.m. UTC
This is now handled via some macro magic during the register.  The
field in iio_info will be removed shortly.

Cc: Linux Input <linux-input@vger.kernel.org>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
---
 drivers/input/touchscreen/tsc2007_iio.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Dmitry Torokhov May 30, 2017, 2:41 a.m. UTC | #1
On Mon, May 29, 2017 at 04:51:52PM +0100, Jonathan Cameron wrote:
> This is now handled via some macro magic during the register.  The
> field in iio_info will be removed shortly.
> 
> Cc: Linux Input <linux-input@vger.kernel.org>
> Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
> Signed-off-by: Jonathan Cameron <jic23@kernel.org>

It sounds the patch needs something from your tree so please merge it
though there.

Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

> ---
>  drivers/input/touchscreen/tsc2007_iio.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> 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)
> -- 
> 2.13.0
>
diff mbox

Patch

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)