mirror of https://gitee.com/openkylin/linux.git
staging: mt7621-gpio: remove redundant owner assignments of drivers
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>
This commit is contained in:
parent
38861e433c
commit
f65d6eb430
|
@ -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,
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue