diff options
author | 2014-10-20 16:20:38 +0200 | |
---|---|---|
committer | 2014-10-20 16:20:38 +0200 | |
commit | 37e5dc1c277c4efa8d1093171ab77fd3585fca3d (patch) | |
tree | f2e8c55a2f62254a8e8d1151d7f27d12baadc203 /drivers/i2c/muxes | |
parent | i2c: busses: drop owner assignment from platform_drivers (diff) | |
download | linux-37e5dc1c277c4efa8d1093171ab77fd3585fca3d.tar.gz linux-37e5dc1c277c4efa8d1093171ab77fd3585fca3d.tar.bz2 linux-37e5dc1c277c4efa8d1093171ab77fd3585fca3d.zip |
i2c: muxes: 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 <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c/muxes')
-rw-r--r-- | drivers/i2c/muxes/i2c-arb-gpio-challenge.c | 1 | ||||
-rw-r--r-- | drivers/i2c/muxes/i2c-mux-gpio.c | 1 | ||||
-rw-r--r-- | drivers/i2c/muxes/i2c-mux-pinctrl.c | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/drivers/i2c/muxes/i2c-arb-gpio-challenge.c b/drivers/i2c/muxes/i2c-arb-gpio-challenge.c index 69afffa8f427..5cf1b60b69e2 100644 --- a/drivers/i2c/muxes/i2c-arb-gpio-challenge.c +++ b/drivers/i2c/muxes/i2c-arb-gpio-challenge.c @@ -235,7 +235,6 @@ static struct platform_driver i2c_arbitrator_driver = { .probe = i2c_arbitrator_probe, .remove = i2c_arbitrator_remove, .driver = { - .owner = THIS_MODULE, .name = "i2c-arb-gpio-challenge", .of_match_table = i2c_arbitrator_of_match, }, diff --git a/drivers/i2c/muxes/i2c-mux-gpio.c b/drivers/i2c/muxes/i2c-mux-gpio.c index d8989c823f50..f5798eb4076b 100644 --- a/drivers/i2c/muxes/i2c-mux-gpio.c +++ b/drivers/i2c/muxes/i2c-mux-gpio.c @@ -280,7 +280,6 @@ static struct platform_driver i2c_mux_gpio_driver = { .probe = i2c_mux_gpio_probe, .remove = i2c_mux_gpio_remove, .driver = { - .owner = THIS_MODULE, .name = "i2c-mux-gpio", .of_match_table = i2c_mux_gpio_of_match, }, diff --git a/drivers/i2c/muxes/i2c-mux-pinctrl.c b/drivers/i2c/muxes/i2c-mux-pinctrl.c index 4ff0ef3e07a6..b48378c4b40d 100644 --- a/drivers/i2c/muxes/i2c-mux-pinctrl.c +++ b/drivers/i2c/muxes/i2c-mux-pinctrl.c @@ -264,7 +264,6 @@ MODULE_DEVICE_TABLE(of, i2c_mux_pinctrl_of_match); static struct platform_driver i2c_mux_pinctrl_driver = { .driver = { .name = "i2c-mux-pinctrl", - .owner = THIS_MODULE, .of_match_table = of_match_ptr(i2c_mux_pinctrl_of_match), }, .probe = i2c_mux_pinctrl_probe, |