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>
This commit is contained in:
committed by
Jacek Anaszewski
parent
6e3956cd53
commit
44ab901f91
@@ -492,7 +492,6 @@ static struct i2c_driver lm3530_i2c_driver = {
|
|||||||
.id_table = lm3530_id,
|
.id_table = lm3530_id,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = LM3530_NAME,
|
.name = LM3530_NAME,
|
||||||
.owner = THIS_MODULE,
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -555,7 +555,6 @@ MODULE_DEVICE_TABLE(i2c, lm355x_id);
|
|||||||
static struct i2c_driver lm355x_i2c_driver = {
|
static struct i2c_driver lm355x_i2c_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = LM355x_NAME,
|
.name = LM355x_NAME,
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.pm = NULL,
|
.pm = NULL,
|
||||||
},
|
},
|
||||||
.probe = lm355x_probe,
|
.probe = lm355x_probe,
|
||||||
|
|||||||
@@ -446,7 +446,6 @@ MODULE_DEVICE_TABLE(i2c, lm3642_id);
|
|||||||
static struct i2c_driver lm3642_i2c_driver = {
|
static struct i2c_driver lm3642_i2c_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = LM3642_NAME,
|
.name = LM3642_NAME,
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.pm = NULL,
|
.pm = NULL,
|
||||||
},
|
},
|
||||||
.probe = lm3642_probe,
|
.probe = lm3642_probe,
|
||||||
|
|||||||
@@ -379,7 +379,6 @@ static int pca955x_remove(struct i2c_client *client)
|
|||||||
static struct i2c_driver pca955x_driver = {
|
static struct i2c_driver pca955x_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "leds-pca955x",
|
.name = "leds-pca955x",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
},
|
},
|
||||||
.probe = pca955x_probe,
|
.probe = pca955x_probe,
|
||||||
.remove = pca955x_remove,
|
.remove = pca955x_remove,
|
||||||
|
|||||||
@@ -458,7 +458,6 @@ static int pca963x_remove(struct i2c_client *client)
|
|||||||
static struct i2c_driver pca963x_driver = {
|
static struct i2c_driver pca963x_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "leds-pca963x",
|
.name = "leds-pca963x",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = of_match_ptr(of_pca963x_match),
|
.of_match_table = of_match_ptr(of_pca963x_match),
|
||||||
},
|
},
|
||||||
.probe = pca963x_probe,
|
.probe = pca963x_probe,
|
||||||
|
|||||||
@@ -830,7 +830,6 @@ static int tca6507_remove(struct i2c_client *client)
|
|||||||
static struct i2c_driver tca6507_driver = {
|
static struct i2c_driver tca6507_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "leds-tca6507",
|
.name = "leds-tca6507",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = of_match_ptr(of_tca6507_leds_match),
|
.of_match_table = of_match_ptr(of_tca6507_leds_match),
|
||||||
},
|
},
|
||||||
.probe = tca6507_probe,
|
.probe = tca6507_probe,
|
||||||
|
|||||||
Reference in New Issue
Block a user