iio: 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: Jonathan Cameron <jic23@kernel.org>
This commit is contained in:

committed by
Jonathan Cameron

parent
071667a0fa
commit
2155971a66
@@ -551,7 +551,6 @@ static const struct dev_pm_ops mlx90614_pm_ops = {
|
||||
static struct i2c_driver mlx90614_driver = {
|
||||
.driver = {
|
||||
.name = "mlx90614",
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &mlx90614_pm_ops,
|
||||
},
|
||||
.probe = mlx90614_probe,
|
||||
|
Reference in New Issue
Block a user