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>
This commit is contained in:
parent
1ecc4335eb
commit
37e5dc1c27
|
@ -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,
|
||||
},
|
||||
|
|
|
@ -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,
|
||||
},
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue