summaryrefslogtreecommitdiffstats
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
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>
-rw-r--r--drivers/leds/leds-lm3530.c1
-rw-r--r--drivers/leds/leds-lm355x.c1
-rw-r--r--drivers/leds/leds-lm3642.c1
-rw-r--r--drivers/leds/leds-pca955x.c1
-rw-r--r--drivers/leds/leds-pca963x.c1
-rw-r--r--drivers/leds/leds-tca6507.c1
6 files changed, 0 insertions, 6 deletions
diff --git a/drivers/leds/leds-lm3530.c b/drivers/leds/leds-lm3530.c
index 91325de3cd33..b38430cb10ad 100644
--- a/drivers/leds/leds-lm3530.c
+++ b/drivers/leds/leds-lm3530.c
@@ -492,7 +492,6 @@ static struct i2c_driver lm3530_i2c_driver = {
492 .id_table = lm3530_id, 492 .id_table = lm3530_id,
493 .driver = { 493 .driver = {
494 .name = LM3530_NAME, 494 .name = LM3530_NAME,
495 .owner = THIS_MODULE,
496 }, 495 },
497}; 496};
498 497
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);
555static struct i2c_driver lm355x_i2c_driver = { 555static struct i2c_driver lm355x_i2c_driver = {
556 .driver = { 556 .driver = {
557 .name = LM355x_NAME, 557 .name = LM355x_NAME,
558 .owner = THIS_MODULE,
559 .pm = NULL, 558 .pm = NULL,
560 }, 559 },
561 .probe = lm355x_probe, 560 .probe = lm355x_probe,
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);
446static struct i2c_driver lm3642_i2c_driver = { 446static struct i2c_driver lm3642_i2c_driver = {
447 .driver = { 447 .driver = {
448 .name = LM3642_NAME, 448 .name = LM3642_NAME,
449 .owner = THIS_MODULE,
450 .pm = NULL, 449 .pm = NULL,
451 }, 450 },
452 .probe = lm3642_probe, 451 .probe = lm3642_probe,
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,
diff --git a/drivers/leds/leds-pca963x.c b/drivers/leds/leds-pca963x.c
index bee3e1ab27fd..3f63a1bfdc4f 100644
--- a/drivers/leds/leds-pca963x.c
+++ b/drivers/leds/leds-pca963x.c
@@ -458,7 +458,6 @@ static int pca963x_remove(struct i2c_client *client)
458static struct i2c_driver pca963x_driver = { 458static struct i2c_driver pca963x_driver = {
459 .driver = { 459 .driver = {
460 .name = "leds-pca963x", 460 .name = "leds-pca963x",
461 .owner = THIS_MODULE,
462 .of_match_table = of_match_ptr(of_pca963x_match), 461 .of_match_table = of_match_ptr(of_pca963x_match),
463 }, 462 },
464 .probe = pca963x_probe, 463 .probe = pca963x_probe,
diff --git a/drivers/leds/leds-tca6507.c b/drivers/leds/leds-tca6507.c
index 20fa8e77f186..c1f910981781 100644
--- a/drivers/leds/leds-tca6507.c
+++ b/drivers/leds/leds-tca6507.c
@@ -830,7 +830,6 @@ static int tca6507_remove(struct i2c_client *client)
830static struct i2c_driver tca6507_driver = { 830static struct i2c_driver tca6507_driver = {
831 .driver = { 831 .driver = {
832 .name = "leds-tca6507", 832 .name = "leds-tca6507",
833 .owner = THIS_MODULE,
834 .of_match_table = of_match_ptr(of_tca6507_leds_match), 833 .of_match_table = of_match_ptr(of_tca6507_leds_match),
835 }, 834 },
836 .probe = tca6507_probe, 835 .probe = tca6507_probe,