Skip to content

Commit

Permalink
staging: mt7621-gpio: remove redundant owner assignments of drivers
Browse files Browse the repository at this point in the history
Remove the reduntant owner initialization from this platform driver as
the platform_driver_register() takes care of it.

Signed-off-by: HariPrasath Elango <hariprasath.elango@gmail.com>
Reviewed-by: NeilBrown <neil@brown.name>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
HariPrasath Elango authored and Greg Kroah-Hartman committed Mar 22, 2018
1 parent 38861e4 commit f65d6eb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/staging/mt7621-gpio/gpio-mt7621.c
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,6 @@ static struct platform_driver mediatek_gpio_driver = {
.probe = mediatek_gpio_probe,
.driver = {
.name = "mt7621_gpio",
.owner = THIS_MODULE,
.of_match_table = mediatek_gpio_match,
},
};
Expand Down

0 comments on commit f65d6eb

Please sign in to comment.