Re: [PATCH -next] thermal: Fix platform_no_drv_owner.cocci warnings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
  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),
  	},
  };








[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux