Message ID | 20190601032338.47195-1-yuehaibing@huawei.com (mailing list archive) |
---|---|
State | Not Applicable, archived |
Delegated to: | Zhang Rui |
Headers | show |
Series | [-next] thermal: Fix platform_no_drv_owner.cocci warnings | expand |
Thanks. This issue was already fixed by previous patch. On 6/1/2019 6:23 AM, YueHaibing wrote: > 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/thermal/thermal_mmio.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/thermal/thermal_mmio.c b/drivers/thermal/thermal_mmio.c > index de3cceea23bc..1dce9f00d45c 100644 > --- a/drivers/thermal/thermal_mmio.c > +++ b/drivers/thermal/thermal_mmio.c > @@ -117,7 +117,6 @@ static struct platform_driver thermal_mmio_driver = { > .probe = thermal_mmio_probe, > .driver = { > .name = "thermal-mmio", > - .owner = THIS_MODULE, > .of_match_table = of_match_ptr(thermal_mmio_id_table), > }, > }; > > > > >
diff --git a/drivers/thermal/thermal_mmio.c b/drivers/thermal/thermal_mmio.c index de3cceea23bc..1dce9f00d45c 100644 --- a/drivers/thermal/thermal_mmio.c +++ b/drivers/thermal/thermal_mmio.c @@ -117,7 +117,6 @@ static struct platform_driver thermal_mmio_driver = { .probe = thermal_mmio_probe, .driver = { .name = "thermal-mmio", - .owner = THIS_MODULE, .of_match_table = of_match_ptr(thermal_mmio_id_table), }, };
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/thermal/thermal_mmio.c | 1 - 1 file changed, 1 deletion(-)