diff mbox

[37/38] platform/x86: toshiba_acpi: drop assignment of iio_info.driver_module

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

Commit Message

Jonathan Cameron May 29, 2017, 3:51 p.m. UTC
This is now handled by use of a macro for device registration.  The field
in iio_info will be going away shortly as it is no longer used.

Cc: Azael Avalos <coproscefalo@gmail.com>
Cc: <platform-driver-x86@vger.kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
---
 drivers/platform/x86/toshiba_acpi.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Andy Shevchenko May 29, 2017, 5:56 p.m. UTC | #1
On Mon, May 29, 2017 at 6:51 PM, Jonathan Cameron <jic23@kernel.org> wrote:
> This is now handled by use of a macro for device registration.  The field
> in iio_info will be going away shortly as it is no longer used.
>
> Cc: Azael Avalos <coproscefalo@gmail.com>
> Cc: <platform-driver-x86@vger.kernel.org>

Acked-by: Andy Shevchenko <andy.shevchenko@gmail.com>

> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
> ---
>  drivers/platform/x86/toshiba_acpi.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/drivers/platform/x86/toshiba_acpi.c b/drivers/platform/x86/toshiba_acpi.c
> index d0daf75cbed1..ef4301f41727 100644
> --- a/drivers/platform/x86/toshiba_acpi.c
> +++ b/drivers/platform/x86/toshiba_acpi.c
> @@ -2515,7 +2515,6 @@ static const struct iio_chan_spec toshiba_iio_accel_channels[] = {
>  };
>
>  static const struct iio_info toshiba_iio_accel_info = {
> -       .driver_module = THIS_MODULE,
>         .read_raw = &toshiba_iio_accel_read_raw,
>  };
>
> --
> 2.13.0
>
Azael Avalos June 7, 2017, 2:53 p.m. UTC | #2
Sorry for being this late, been a bit busy.

2017-05-29 9:51 GMT-06:00 Jonathan Cameron <jic23@kernel.org>:
> This is now handled by use of a macro for device registration.  The field
> in iio_info will be going away shortly as it is no longer used.
>
> Cc: Azael Avalos <coproscefalo@gmail.com>
> Cc: <platform-driver-x86@vger.kernel.org>

Acked-by: Azael Avalos <coproscefalo@gmail.com>

> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
> ---
>  drivers/platform/x86/toshiba_acpi.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/drivers/platform/x86/toshiba_acpi.c b/drivers/platform/x86/toshiba_acpi.c
> index d0daf75cbed1..ef4301f41727 100644
> --- a/drivers/platform/x86/toshiba_acpi.c
> +++ b/drivers/platform/x86/toshiba_acpi.c
> @@ -2515,7 +2515,6 @@ static const struct iio_chan_spec toshiba_iio_accel_channels[] = {
>  };
>
>  static const struct iio_info toshiba_iio_accel_info = {
> -       .driver_module = THIS_MODULE,
>         .read_raw = &toshiba_iio_accel_read_raw,
>  };
>
> --
> 2.13.0
>
Jonathan Cameron June 11, 2017, 2:03 p.m. UTC | #3
On Wed, 7 Jun 2017 08:53:09 -0600
Azael Avalos <coproscefalo@gmail.com> wrote:

> Sorry for being this late, been a bit busy.
That's fine, I'm still waiting for reviews on the two core patches
at the start of the series :(  

Trying to avoid playing the maintainer game and applying loads
of my own patches without review!

Thanks,

Jonathan
> 
> 2017-05-29 9:51 GMT-06:00 Jonathan Cameron <jic23@kernel.org>:
> > This is now handled by use of a macro for device registration.  The field
> > in iio_info will be going away shortly as it is no longer used.
> >
> > Cc: Azael Avalos <coproscefalo@gmail.com>
> > Cc: <platform-driver-x86@vger.kernel.org>  
> 
> Acked-by: Azael Avalos <coproscefalo@gmail.com>
> 
> > Signed-off-by: Jonathan Cameron <jic23@kernel.org>
> > ---
> >  drivers/platform/x86/toshiba_acpi.c | 1 -
> >  1 file changed, 1 deletion(-)
> >
> > diff --git a/drivers/platform/x86/toshiba_acpi.c b/drivers/platform/x86/toshiba_acpi.c
> > index d0daf75cbed1..ef4301f41727 100644
> > --- a/drivers/platform/x86/toshiba_acpi.c
> > +++ b/drivers/platform/x86/toshiba_acpi.c
> > @@ -2515,7 +2515,6 @@ static const struct iio_chan_spec toshiba_iio_accel_channels[] = {
> >  };
> >
> >  static const struct iio_info toshiba_iio_accel_info = {
> > -       .driver_module = THIS_MODULE,
> >         .read_raw = &toshiba_iio_accel_read_raw,
> >  };
> >
> > --
> > 2.13.0
> >  
> 
> 
>
diff mbox

Patch

diff --git a/drivers/platform/x86/toshiba_acpi.c b/drivers/platform/x86/toshiba_acpi.c
index d0daf75cbed1..ef4301f41727 100644
--- a/drivers/platform/x86/toshiba_acpi.c
+++ b/drivers/platform/x86/toshiba_acpi.c
@@ -2515,7 +2515,6 @@  static const struct iio_chan_spec toshiba_iio_accel_channels[] = {
 };
 
 static const struct iio_info toshiba_iio_accel_info = {
-	.driver_module = THIS_MODULE,
 	.read_raw = &toshiba_iio_accel_read_raw,
 };