forked from Minki/linux
[media] s5p-tv: 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: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
This commit is contained in:
parent
4dc102b2f5
commit
264d1cf86c
@ -315,7 +315,6 @@ MODULE_DEVICE_TABLE(i2c, hdmiphy_id);
|
|||||||
static struct i2c_driver hdmiphy_driver = {
|
static struct i2c_driver hdmiphy_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "s5p-hdmiphy",
|
.name = "s5p-hdmiphy",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
},
|
},
|
||||||
.probe = hdmiphy_probe,
|
.probe = hdmiphy_probe,
|
||||||
.remove = hdmiphy_remove,
|
.remove = hdmiphy_remove,
|
||||||
|
@ -397,7 +397,6 @@ MODULE_DEVICE_TABLE(i2c, sii9234_id);
|
|||||||
static struct i2c_driver sii9234_driver = {
|
static struct i2c_driver sii9234_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "sii9234",
|
.name = "sii9234",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.pm = &sii9234_pm_ops,
|
.pm = &sii9234_pm_ops,
|
||||||
},
|
},
|
||||||
.probe = sii9234_probe,
|
.probe = sii9234_probe,
|
||||||
|
Loading…
Reference in New Issue
Block a user