powerpc: platforms: 85xx: 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
bedb9eb1e8
commit
4a0b0cee81
|
@ -161,7 +161,6 @@ MODULE_DEVICE_TABLE(of, gpio_halt_match);
|
||||||
static struct platform_driver gpio_halt_driver = {
|
static struct platform_driver gpio_halt_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "gpio-halt",
|
.name = "gpio-halt",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = gpio_halt_match,
|
.of_match_table = gpio_halt_match,
|
||||||
},
|
},
|
||||||
.probe = gpio_halt_probe,
|
.probe = gpio_halt_probe,
|
||||||
|
|
Loading…
Reference in New Issue