From 2a9e7f2f03d129f21f39b701f9086300608279fe Mon Sep 17 00:00:00 2001 From: Jonathan Cameron Date: Sun, 23 Jul 2017 17:26:20 +0100 Subject: [PATCH] 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: Signed-off-by: Jonathan Cameron Acked-by: Andy Shevchenko Acked-by: Azael Avalos Reviewed-by: Lars-Peter Clausen --- 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 bb1dcd7fbdeb..e8d058c5ef21 100644 --- a/drivers/platform/x86/toshiba_acpi.c +++ b/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 = { - .driver_module = THIS_MODULE, .read_raw = &toshiba_iio_accel_read_raw, };