diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2015-07-10 15:00:52 +0900 |
---|---|---|
committer | Jacek Anaszewski <j.anaszewski@samsung.com> | 2015-08-28 14:06:02 +0200 |
commit | 44ab901f91b22dcfc7d03d6f0da15c5354042367 (patch) | |
tree | 145dade6a7a5cf81c72807c60ba4bc4f6212c2a4 /drivers/leds/leds-lm3642.c | |
parent | 6e3956cd532d8c263e68ebae1252828e297aac4d (diff) | |
download | linux-44ab901f91b22dcfc7d03d6f0da15c5354042367.tar.bz2 |
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-lm3642.c')
-rw-r--r-- | drivers/leds/leds-lm3642.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/leds/leds-lm3642.c b/drivers/leds/leds-lm3642.c index d3dec0132769..02ebe342f5af 100644 --- a/drivers/leds/leds-lm3642.c +++ b/drivers/leds/leds-lm3642.c @@ -446,7 +446,6 @@ MODULE_DEVICE_TABLE(i2c, lm3642_id); static struct i2c_driver lm3642_i2c_driver = { .driver = { .name = LM3642_NAME, - .owner = THIS_MODULE, .pm = NULL, }, .probe = lm3642_probe, |