2021-03-23 02:16:17

by Jiabing Wan

[permalink] [raw]
Subject: [PATCH] thermal: ti-soc-thermal: of_device.h is included twice

linux/of_device.h has been included at line 25, so remove
the duplicate one at line 35.

Signed-off-by: Wan Jiabing <[email protected]>
---
drivers/thermal/ti-soc-thermal/ti-bandgap.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/thermal/ti-soc-thermal/ti-bandgap.c b/drivers/thermal/ti-soc-thermal/ti-bandgap.c
index 8a3646e26ddd..d81af89166d2 100644
--- a/drivers/thermal/ti-soc-thermal/ti-bandgap.c
+++ b/drivers/thermal/ti-soc-thermal/ti-bandgap.c
@@ -32,7 +32,6 @@
#include <linux/pm_runtime.h>
#include <linux/pm.h>
#include <linux/of.h>
-#include <linux/of_device.h>

#include "ti-bandgap.h"

--
2.25.1


2021-03-31 16:41:12

by Daniel Lezcano

[permalink] [raw]
Subject: Re: [PATCH] thermal: ti-soc-thermal: of_device.h is included twice

On 23/03/2021 03:14, Wan Jiabing wrote:
> linux/of_device.h has been included at line 25, so remove
> the duplicate one at line 35.
>
> Signed-off-by: Wan Jiabing <[email protected]>
> ---

Thanks for your patch.

It was actually already fixed [1].

-- D.

[1]
https://git.kernel.org/pub/scm/linux/kernel/git/thermal/linux.git/commit/?h=thermal/next&id=7440e912b0fe755d80b958a65859ebabb5338cf8


--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog