199-gpio_mvebu_drop_owner.patch 476 B

123456789101112131415
  1. A platform_driver does not need to set an owner, it will be populated by the
  2. driver core.
  3. Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
  4. --- a/drivers/gpio/gpio-mvebu.c
  5. +++ b/drivers/gpio/gpio-mvebu.c
  6. @@ -836,7 +836,6 @@ static int mvebu_gpio_probe(struct platf
  7. static struct platform_driver mvebu_gpio_driver = {
  8. .driver = {
  9. .name = "mvebu-gpio",
  10. - .owner = THIS_MODULE,
  11. .of_match_table = mvebu_gpio_of_match,
  12. },
  13. .probe = mvebu_gpio_probe,