Browse Source

platform/x86: toshiba_acpi: drop assignment of iio_info.driver_module

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: <platform-driver-x86@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Acked-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Acked-by: Azael Avalos <coproscefalo@gmail.com>
Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>
Jonathan Cameron 8 years ago
parent
commit
2a9e7f2f03
1 changed files with 0 additions and 1 deletions
  1. 0 1
      drivers/platform/x86/toshiba_acpi.c

+ 0 - 1
drivers/platform/x86/toshiba_acpi.c

@@ -2510,7 +2510,6 @@ static const struct iio_chan_spec toshiba_iio_accel_channels[] = {
 };
 };
 
 
 static const struct iio_info toshiba_iio_accel_info = {
 static const struct iio_info toshiba_iio_accel_info = {
-	.driver_module = THIS_MODULE,
 	.read_raw = &toshiba_iio_accel_read_raw,
 	.read_raw = &toshiba_iio_accel_read_raw,
 };
 };