Ver código fonte

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>
Krzysztof Kozlowski 10 anos atrás
pai
commit
e3f3aaac06
1 arquivos alterados com 0 adições e 1 exclusões
  1. 0 1
      drivers/pinctrl/sirf/pinctrl-atlas7.c

+ 0 - 1
drivers/pinctrl/sirf/pinctrl-atlas7.c

@@ -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,