Message ID | 20170529155154.22580-38-jic23@kernel.org (mailing list archive) |
---|---|
State | Deferred, archived |
Headers | show |
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 >
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 >
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 --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, };
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(-)