summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@kernel.org>2017-07-23 17:26:24 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2017-09-03 18:10:26 +0100
commit6ec7ffd6e9ac28a62164e05c80c002cf4b788ef9 (patch)
tree7e5a27014259e17633a74092c67057cafea52fe4
parentaacbd095b4015a85eaac56a517eacf2df89b1b5e (diff)
downloadlinux-6ec7ffd6e9ac28a62164e05c80c002cf4b788ef9.tar.bz2
iio:potentiometer:max5481 drop explicit setting of the owner module.
This has been handled by the spi core for some time. Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>
-rw-r--r--drivers/iio/potentiometer/max5481.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/potentiometer/max5481.c b/drivers/iio/potentiometer/max5481.c
index 2f9102544d57..ffe2761333a2 100644
--- a/drivers/iio/potentiometer/max5481.c
+++ b/drivers/iio/potentiometer/max5481.c
@@ -206,7 +206,6 @@ MODULE_DEVICE_TABLE(acpi, max5481_acpi_match);
static struct spi_driver max5481_driver = {
.driver = {
.name = "max5481",
- .owner = THIS_MODULE,
.of_match_table = of_match_ptr(max5481_match),
.acpi_match_table = ACPI_PTR(max5481_acpi_match),
},