pinctrl: sirf: Drop owner assignment from platform_driver

platform_driver does not need to set an owner because
platform_driver_register() will set it.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
Krzysztof Kozlowski 2015-07-10 15:27:30 +09:00 committed by Linus Walleij
parent 6417049f66
commit e3f3aaac06

View File

@ -4621,7 +4621,6 @@ failed:
static struct platform_driver atlas7_gpio_driver = {
.driver = {
.name = "atlas7-gpio",
.owner = THIS_MODULE,
.of_match_table = atlas7_gpio_ids,
},
.probe = atlas7_gpio_probe,