diff mbox series

thermal: ti-soc-thermal: of_device.h is included twice

Message ID 20210323021430.141218-1-wanjiabing@vivo.com (mailing list archive)
State New, archived
Headers show
Series thermal: ti-soc-thermal: of_device.h is included twice | expand

Commit Message

Jiabing Wan March 23, 2021, 2:14 a.m. UTC
linux/of_device.h has been included at line 25, so remove 
the duplicate one at line 35.

Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
---
 drivers/thermal/ti-soc-thermal/ti-bandgap.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Daniel Lezcano March 31, 2021, 4:37 p.m. UTC | #1
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 <wanjiabing@vivo.com>
> ---

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
diff mbox series

Patch

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"