Commit f5ed841c authored by Markus Elfring's avatar Markus Elfring Committed by Benjamin Herrenschmidt

powerpc: mpc8349emitx: Delete unnecessary assignment for the field "owner"

The field "owner" is set by the core.
Thus delete an unneeded initialisation.

Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
Signed-off-by: default avatarMarkus Elfring <elfring@users.sourceforge.net>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent e72e799c
...@@ -222,7 +222,6 @@ static const struct of_device_id mcu_of_match_table[] = { ...@@ -222,7 +222,6 @@ static const struct of_device_id mcu_of_match_table[] = {
static struct i2c_driver mcu_driver = { static struct i2c_driver mcu_driver = {
.driver = { .driver = {
.name = "mcu-mpc8349emitx", .name = "mcu-mpc8349emitx",
.owner = THIS_MODULE,
.of_match_table = mcu_of_match_table, .of_match_table = mcu_of_match_table,
}, },
.probe = mcu_probe, .probe = mcu_probe,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment