usb: chipidea: fix platform_no_drv_owner.cocci warnings
drivers/usb/chipidea/ci_hdrc_usb2.c:108:3-8: No need to set .owner here. The core will do it. Remove .owner field if calls are used which set it automatically Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Cc: Antoine Tenart <antoine.tenart@free-electrons.com> Cc: Peter Chen <peter.chen@freescale.com> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
9f10adc544
commit
67c3c5e28e
1 changed files with 0 additions and 1 deletions
|
@ -105,7 +105,6 @@ static struct platform_driver ci_hdrc_usb2_driver = {
|
||||||
.remove = ci_hdrc_usb2_remove,
|
.remove = ci_hdrc_usb2_remove,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "chipidea-usb2",
|
.name = "chipidea-usb2",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = of_match_ptr(ci_hdrc_usb2_of_match),
|
.of_match_table = of_match_ptr(ci_hdrc_usb2_of_match),
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue