From: Wolfram Sang Date: Mon, 20 Oct 2014 14:20:39 +0000 (+0200) Subject: iio: adc: drop owner assignment from platform_drivers X-Git-Tag: v3.19-rc1~78^2~25^2~216 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=770ca15c0369b9237bf143e3f9c1f5a406cb45b4;p=karo-tx-linux.git iio: adc: drop owner assignment from platform_drivers A platform_driver does not need to set an owner, it will be populated by the driver core. Signed-off-by: Wolfram Sang --- diff --git a/drivers/iio/adc/rockchip_saradc.c b/drivers/iio/adc/rockchip_saradc.c index e074a0b03f28..63a9797775cb 100644 --- a/drivers/iio/adc/rockchip_saradc.c +++ b/drivers/iio/adc/rockchip_saradc.c @@ -307,7 +307,6 @@ static struct platform_driver rockchip_saradc_driver = { .remove = rockchip_saradc_remove, .driver = { .name = "rockchip-saradc", - .owner = THIS_MODULE, .of_match_table = rockchip_saradc_match, .pm = &rockchip_saradc_pm_ops, },