Thermal: fix platform_no_drv_owner.cocci warnings
authorWu Fengguang <fengguang.wu@intel.com>
Mon, 17 Nov 2014 06:24:36 +0000 (14:24 +0800)
committerZhang Rui <rui.zhang@intel.com>
Tue, 9 Dec 2014 03:31:20 +0000 (11:31 +0800)
drivers/thermal/int340x_thermal/int3403_thermal.c:468: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

Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Acked-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/int340x_thermal/int3403_thermal.c

index 790b8f6da731624f419c0e100c4647b661c16635..1bfa6a69e77a15a8d021cb3ed33760b212ba9ce9 100644 (file)
@@ -470,7 +470,6 @@ static struct platform_driver int3403_driver = {
        .remove = int3403_remove,
        .driver = {
                .name = "int3403 thermal",
-               .owner  = THIS_MODULE,
                .acpi_match_table = int3403_device_ids,
        },
 };