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>
static struct platform_driver abx500_gpio_driver = {
.driver = {
.name = "abx500-gpio",
- .owner = THIS_MODULE,
.of_match_table = abx500_gpio_match,
},
.probe = abx500_gpio_probe,
static struct platform_driver nmk_gpio_driver = {
.driver = {
- .owner = THIS_MODULE,
.name = "gpio",
.of_match_table = nmk_gpio_match,
},
static struct platform_driver nmk_pinctrl_driver = {
.driver = {
- .owner = THIS_MODULE,
.name = "pinctrl-nomadik",
.of_match_table = nmk_pinctrl_match,
.pm = &nmk_pinctrl_pm_ops,