summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-spear-spics.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 16:20:31 +0200
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 16:20:31 +0200
commit4a3a950ee9cc76188f5be9088bc765889f7a61c5 (patch)
tree9b7e09ea510b50c67d659bdf0d9848db25519a2d /drivers/gpio/gpio-spear-spics.c
parentfirmware: drop owner assignment from platform_drivers (diff)
downloadlinux-4a3a950ee9cc76188f5be9088bc765889f7a61c5.tar.xz
linux-4a3a950ee9cc76188f5be9088bc765889f7a61c5.zip
gpio: drop owner assignment from platform_drivers
A platform_driver does not need to set an owner, it will be populated by the driver core. Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/gpio/gpio-spear-spics.c')
-rw-r--r--drivers/gpio/gpio-spear-spics.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-spear-spics.c b/drivers/gpio/gpio-spear-spics.c
index 353263c85d26..64c8aa4f52b8 100644
--- a/drivers/gpio/gpio-spear-spics.c
+++ b/drivers/gpio/gpio-spear-spics.c
@@ -191,7 +191,6 @@ MODULE_DEVICE_TABLE(of, spics_gpio_of_match);
static struct platform_driver spics_gpio_driver = {
.probe = spics_gpio_probe,
.driver = {
- .owner = THIS_MODULE,
.name = "spear-spics-gpio",
.of_match_table = spics_gpio_of_match,
},