Message ID | 20190214015616.130334-1-yuehaibing@huawei.com (mailing list archive) |
---|---|
State | Mainlined, archived |
Commit | 812296631816d31eef001078c1b14ce865f8378a |
Headers | show |
Series | [-next] clk: mediatek: fix platform_no_drv_owner.cocci warnings | expand |
Quoting YueHaibing (2019-02-13 17:56:16) > Remove .owner field if calls are used which set it automatically > Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci > > Signed-off-by: YueHaibing <yuehaibing@huawei.com> > --- Applied to clk-next
diff --git a/drivers/clk/mediatek/clk-mt2712.c b/drivers/clk/mediatek/clk-mt2712.c index e36f4aab634d..b09cb3d99f66 100644 --- a/drivers/clk/mediatek/clk-mt2712.c +++ b/drivers/clk/mediatek/clk-mt2712.c @@ -1467,7 +1467,6 @@ static struct platform_driver clk_mt2712_drv = { .probe = clk_mt2712_probe, .driver = { .name = "clk-mt2712", - .owner = THIS_MODULE, .of_match_table = of_match_clk_mt2712, }, };
Remove .owner field if calls are used which set it automatically Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Signed-off-by: YueHaibing <yuehaibing@huawei.com> --- drivers/clk/mediatek/clk-mt2712.c | 1 - 1 file changed, 1 deletion(-)