summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-adnp.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2015-11-19 04:57:11 +0100
committerLinus Walleij <linus.walleij@linaro.org>2015-11-30 09:31:00 +0100
commitd9110e9ce7ed98b24fa58764833e89a430843c21 (patch)
tree82fd0ef7e992a0f3f53bcf26d29a7ab6eec93aad /drivers/gpio/gpio-adnp.c
parentgpiolib: make comment consistent with code (diff)
downloadlinux-d9110e9ce7ed98b24fa58764833e89a430843c21.tar.xz
linux-d9110e9ce7ed98b24fa58764833e89a430843c21.zip
gpio: Drop owner assignment from i2c_driver
i2c_driver does not need to set an owner because i2c_register_driver() will set it. Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-adnp.c')
-rw-r--r--drivers/gpio/gpio-adnp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-adnp.c b/drivers/gpio/gpio-adnp.c
index b34a62a5a7e1..b8a1ac133390 100644
--- a/drivers/gpio/gpio-adnp.c
+++ b/drivers/gpio/gpio-adnp.c
@@ -548,7 +548,6 @@ MODULE_DEVICE_TABLE(of, adnp_of_match);
static struct i2c_driver adnp_i2c_driver = {
.driver = {
.name = "gpio-adnp",
- .owner = THIS_MODULE,
.of_match_table = adnp_of_match,
},
.probe = adnp_i2c_probe,