Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d9110e9c authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Linus Walleij
Browse files

gpio: 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: default avatarKrzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent c88402c2
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -548,7 +548,6 @@ MODULE_DEVICE_TABLE(of, adnp_of_match);
static struct i2c_driver adnp_i2c_driver = {
	.driver = {
		.name = "gpio-adnp",
		.owner = THIS_MODULE,
		.of_match_table = adnp_of_match,
	},
	.probe = adnp_i2c_probe,
+0 −1
Original line number Diff line number Diff line
@@ -65,7 +65,6 @@ MODULE_DEVICE_TABLE(i2c, max7300_id);
static struct i2c_driver max7300_driver = {
	.driver = {
		.name = "max7300",
		.owner = THIS_MODULE,
	},
	.probe = max7300_probe,
	.remove = max7300_remove,
+0 −1
Original line number Diff line number Diff line
@@ -749,7 +749,6 @@ static int max732x_remove(struct i2c_client *client)
static struct i2c_driver max732x_driver = {
	.driver = {
		.name		= "max732x",
		.owner		= THIS_MODULE,
		.of_match_table	= of_match_ptr(max732x_of_table),
	},
	.probe		= max732x_probe,
+0 −1
Original line number Diff line number Diff line
@@ -131,7 +131,6 @@ MODULE_DEVICE_TABLE(i2c, mc9s08dz60_id);

static struct i2c_driver mc9s08dz60_i2c_driver = {
	.driver = {
		.owner = THIS_MODULE,
		.name = "mc9s08dz60",
	},
	.probe = mc9s08dz60_probe,
+0 −1
Original line number Diff line number Diff line
@@ -447,7 +447,6 @@ static int pcf857x_remove(struct i2c_client *client)
static struct i2c_driver pcf857x_driver = {
	.driver = {
		.name	= "pcf857x",
		.owner	= THIS_MODULE,
		.of_match_table = of_match_ptr(pcf857x_of_table),
	},
	.probe	= pcf857x_probe,
Loading