forked from luck/tmp_suning_uos_patched
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:
parent
aee4b9bd45
commit
01c48a59ba
|
@ -97,7 +97,6 @@ MODULE_DEVICE_TABLE(i2c, ds2482_id);
|
|||
|
||||
static struct i2c_driver ds2482_driver = {
|
||||
.driver = {
|
||||
.owner = THIS_MODULE,
|
||||
.name = "ds2482",
|
||||
},
|
||||
.probe = ds2482_probe,
|
||||
|
|
Loading…
Reference in New Issue
Block a user