Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1462674 > unrolled thread
| Started by | SF Markus Elfring <elfring@users.sourceforge.net> |
|---|---|
| First post | 2016-08-15 11:40 +0200 |
| Last post | 2016-08-19 15:20 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH] Thermal-INT3406: Delete owner assignment SF Markus Elfring <elfring@users.sourceforge.net> - 2016-08-15 11:40 +0200
Re: [PATCH] Thermal-INT3406: Delete owner assignment Zhang Rui <rui.zhang@intel.com> - 2016-08-19 15:20 +0200
| From | SF Markus Elfring <elfring@users.sourceforge.net> |
|---|---|
| Date | 2016-08-15 11:40 +0200 |
| Subject | [PATCH] Thermal-INT3406: Delete owner assignment |
| Message-ID | <s6mxb-3PS-9@gated-at.bofh.it> |
From: Markus Elfring <elfring@users.sourceforge.net>
Date: Mon, 15 Aug 2016 11:22:40 +0200
The field "owner" is set by core. Thus delete an extra initialisation.
Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
---
drivers/thermal/int340x_thermal/int3406_thermal.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/thermal/int340x_thermal/int3406_thermal.c b/drivers/thermal/int340x_thermal/int3406_thermal.c
index a578cd2..1891f34 100644
--- a/drivers/thermal/int340x_thermal/int3406_thermal.c
+++ b/drivers/thermal/int340x_thermal/int3406_thermal.c
@@ -225,7 +225,6 @@ static struct platform_driver int3406_thermal_driver = {
.remove = int3406_thermal_remove,
.driver = {
.name = "int3406 thermal",
- .owner = THIS_MODULE,
.acpi_match_table = int3406_thermal_match,
},
};
--
2.9.2
[toc] | [next] | [standalone]
| From | Zhang Rui <rui.zhang@intel.com> |
|---|---|
| Date | 2016-08-19 15:20 +0200 |
| Message-ID | <s7RSh-65h-15@gated-at.bofh.it> |
| In reply to | #1462674 |
On 一, 2016-08-15 at 11:30 +0200, SF Markus Elfring wrote:
> From: Markus Elfring <elfring@users.sourceforge.net>
> Date: Mon, 15 Aug 2016 11:22:40 +0200
>
> The field "owner" is set by core. Thus delete an extra
> initialisation.
>
> Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
> Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Patch applied.
thanks,
rui
> ---
> drivers/thermal/int340x_thermal/int3406_thermal.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/thermal/int340x_thermal/int3406_thermal.c
> b/drivers/thermal/int340x_thermal/int3406_thermal.c
> index a578cd2..1891f34 100644
> --- a/drivers/thermal/int340x_thermal/int3406_thermal.c
> +++ b/drivers/thermal/int340x_thermal/int3406_thermal.c
> @@ -225,7 +225,6 @@ static struct platform_driver
> int3406_thermal_driver = {
> .remove = int3406_thermal_remove,
> .driver = {
> .name = "int3406 thermal",
> - .owner = THIS_MODULE,
> .acpi_match_table = int3406_thermal_match,
> },
> };
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web