aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-max732x.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2015-11-19 12:57:11 +0900
committerLinus Walleij <linus.walleij@linaro.org>2015-11-30 09:31:00 +0100
commitd9110e9ce7ed98b24fa58764833e89a430843c21 (patch)
tree82fd0ef7e992a0f3f53bcf26d29a7ab6eec93aad /drivers/gpio/gpio-max732x.c
parentgpiolib: make comment consistent with code (diff)
downloadlinux-dev-d9110e9ce7ed98b24fa58764833e89a430843c21.tar.xz
linux-dev-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-max732x.c')
-rw-r--r--drivers/gpio/gpio-max732x.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-max732x.c b/drivers/gpio/gpio-max732x.c
index c1e7b55644b0..a1094984b666 100644
--- a/drivers/gpio/gpio-max732x.c
+++ b/drivers/gpio/gpio-max732x.c
@@ -749,7 +749,6 @@ static int max732x_remove(struct i2c_client *client)
static struct i2c_driver max732x_driver = {
.driver = {
.name = "max732x",
- .owner = THIS_MODULE,
.of_match_table = of_match_ptr(max732x_of_table),
},
.probe = max732x_probe,