diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2015-11-19 04:57:11 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2015-11-30 09:31:00 +0100 |
commit | d9110e9ce7ed98b24fa58764833e89a430843c21 (patch) | |
tree | 82fd0ef7e992a0f3f53bcf26d29a7ab6eec93aad /drivers/gpio/gpio-sx150x.c | |
parent | gpiolib: make comment consistent with code (diff) | |
download | linux-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-sx150x.c')
-rw-r--r-- | drivers/gpio/gpio-sx150x.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-sx150x.c b/drivers/gpio/gpio-sx150x.c index c0145159a127..cf12d8e3ce3e 100644 --- a/drivers/gpio/gpio-sx150x.c +++ b/drivers/gpio/gpio-sx150x.c @@ -680,7 +680,6 @@ static int sx150x_remove(struct i2c_client *client) static struct i2c_driver sx150x_driver = { .driver = { .name = "sx150x", - .owner = THIS_MODULE, .of_match_table = of_match_ptr(sx150x_of_match), }, .probe = sx150x_probe, |