diff options
author | Jonathan Cameron <jic23@kernel.org> | 2017-07-23 17:26:20 +0100 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2017-08-22 22:14:59 +0100 |
commit | 2a9e7f2f03d129f21f39b701f9086300608279fe (patch) | |
tree | 17a211819accf5f3fbedd11061dd472ea87c618a | |
parent | 4749b0a28feddeaeffa8044cd3ae1711cc15c8da (diff) | |
download | op-kernel-dev-2a9e7f2f03d129f21f39b701f9086300608279fe.zip op-kernel-dev-2a9e7f2f03d129f21f39b701f9086300608279fe.tar.gz |
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>
-rw-r--r-- | drivers/platform/x86/toshiba_acpi.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/platform/x86/toshiba_acpi.c b/drivers/platform/x86/toshiba_acpi.c index bb1dcd7..e8d058c 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, }; |