]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
iio:potentiometer:max5487: Drop explicit setting of module owner
authorJonathan Cameron <jic23@kernel.org>
Sun, 23 Jul 2017 16:26:25 +0000 (17:26 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 3 Sep 2017 17:10:27 +0000 (18:10 +0100)
The SPI core has handled this for some time.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>
drivers/iio/potentiometer/max5487.c

index ec1a91a0a391dc0e3015f262616b53e74894769e..5042d3e09b123bd8c0e54ec23a8e704fbc958629 100644 (file)
@@ -146,7 +146,6 @@ MODULE_DEVICE_TABLE(acpi, max5487_acpi_match);
 static struct spi_driver max5487_driver = {
        .driver = {
                .name = "max5487",
-               .owner = THIS_MODULE,
                .acpi_match_table = ACPI_PTR(max5487_acpi_match),
        },
        .id_table = max5487_id,