summaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-lm355x.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2015-07-10 08:00:52 +0200
committerJacek Anaszewski <j.anaszewski@samsung.com>2015-08-28 14:06:02 +0200
commit44ab901f91b22dcfc7d03d6f0da15c5354042367 (patch)
tree145dade6a7a5cf81c72807c60ba4bc4f6212c2a4 /drivers/leds/leds-lm355x.c
parentleds: Allow compile test of LEDS_AAT1290 and LEDS_KTD2692 if !GPIOLIB (diff)
downloadlinux-44ab901f91b22dcfc7d03d6f0da15c5354042367.tar.xz
linux-44ab901f91b22dcfc7d03d6f0da15c5354042367.zip
leds: 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: Jacek Anaszewski <j.anaszewski@samsung.com>
Diffstat (limited to 'drivers/leds/leds-lm355x.c')
-rw-r--r--drivers/leds/leds-lm355x.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/leds/leds-lm355x.c b/drivers/leds/leds-lm355x.c
index f5112cb2d991..48872997d6b4 100644
--- a/drivers/leds/leds-lm355x.c
+++ b/drivers/leds/leds-lm355x.c
@@ -555,7 +555,6 @@ MODULE_DEVICE_TABLE(i2c, lm355x_id);
static struct i2c_driver lm355x_i2c_driver = {
.driver = {
.name = LM355x_NAME,
- .owner = THIS_MODULE,
.pm = NULL,
},
.probe = lm355x_probe,