]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
iio:potentiometer:max5481 drop explicit setting of the owner module.
authorJonathan Cameron <jic23@kernel.org>
Sun, 23 Jul 2017 16:26:24 +0000 (17:26 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 3 Sep 2017 17:10:26 +0000 (18:10 +0100)
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>
drivers/iio/potentiometer/max5481.c

index 2f9102544d57ead44ba4326c7533ff2090e03367..ffe2761333a2da1f71437fe255691f8fda12eb94 100644 (file)
@@ -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),
        },