summaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-pca955x.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2015-07-10 02:00:52 -0400
committerJacek Anaszewski <j.anaszewski@samsung.com>2015-08-28 08:06:02 -0400
commit44ab901f91b22dcfc7d03d6f0da15c5354042367 (patch)
tree145dade6a7a5cf81c72807c60ba4bc4f6212c2a4 /drivers/leds/leds-pca955x.c
parent6e3956cd532d8c263e68ebae1252828e297aac4d (diff)
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-pca955x.c')
-rw-r--r--drivers/leds/leds-pca955x.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/leds/leds-pca955x.c b/drivers/leds/leds-pca955x.c
index c3a08b60535b..b775e1efecd3 100644
--- a/drivers/leds/leds-pca955x.c
+++ b/drivers/leds/leds-pca955x.c
@@ -379,7 +379,6 @@ static int pca955x_remove(struct i2c_client *client)
379static struct i2c_driver pca955x_driver = { 379static struct i2c_driver pca955x_driver = {
380 .driver = { 380 .driver = {
381 .name = "leds-pca955x", 381 .name = "leds-pca955x",
382 .owner = THIS_MODULE,
383 }, 382 },
384 .probe = pca955x_probe, 383 .probe = pca955x_probe,
385 .remove = pca955x_remove, 384 .remove = pca955x_remove,