w1: 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> Acked-by: Evgeniy Polyakov <zbr@ioremap.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Родитель
aee4b9bd45
Коммит
01c48a59ba
|
@ -97,7 +97,6 @@ MODULE_DEVICE_TABLE(i2c, ds2482_id);
|
||||||
|
|
||||||
static struct i2c_driver ds2482_driver = {
|
static struct i2c_driver ds2482_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.name = "ds2482",
|
.name = "ds2482",
|
||||||
},
|
},
|
||||||
.probe = ds2482_probe,
|
.probe = ds2482_probe,
|
||||||
|
|
Загрузка…
Ссылка в новой задаче