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

Commit 14e51e59 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Greg Kroah-Hartman
Browse files

misc: 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 avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1037b278
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -106,7 +106,6 @@ MODULE_DEVICE_TABLE(i2c, ad_dpot_id);
static struct i2c_driver ad_dpot_i2c_driver = {
	.driver = {
		.name	= "ad_dpot",
		.owner	= THIS_MODULE,
	},
	.probe		= ad_dpot_i2c_probe,
	.remove		= ad_dpot_i2c_remove,
+0 −1
Original line number Diff line number Diff line
@@ -1275,7 +1275,6 @@ static const struct dev_pm_ops apds990x_pm_ops = {
static struct i2c_driver apds990x_driver = {
	.driver	 = {
		.name	= "apds990x",
		.owner	= THIS_MODULE,
		.pm	= &apds990x_pm_ops,
	},
	.probe	  = apds990x_probe,
+0 −1
Original line number Diff line number Diff line
@@ -1396,7 +1396,6 @@ static const struct dev_pm_ops bh1770_pm_ops = {
static struct i2c_driver bh1770_driver = {
	.driver	 = {
		.name	= "bh1770glc",
		.owner	= THIS_MODULE,
		.pm	= &bh1770_pm_ops,
	},
	.probe	  = bh1770_probe,
+0 −1
Original line number Diff line number Diff line
@@ -66,7 +66,6 @@ MODULE_DEVICE_TABLE(i2c, bmp085_id);

static struct i2c_driver bmp085_i2c_driver = {
	.driver = {
		.owner	= THIS_MODULE,
		.name	= BMP085_NAME,
	},
	.id_table	= bmp085_id,
+0 −1
Original line number Diff line number Diff line
@@ -689,7 +689,6 @@ static int at24_remove(struct i2c_client *client)
static struct i2c_driver at24_driver = {
	.driver = {
		.name = "at24",
		.owner = THIS_MODULE,
	},
	.probe = at24_probe,
	.remove = at24_remove,
Loading