All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/1] thermal: ti-soc-thermal: Remove duplicated header file inclusion
@ 2021-04-06  9:19 Zhen Lei
  2021-04-06  9:19 ` [PATCH v2 1/1] " Zhen Lei
  0 siblings, 1 reply; 5+ messages in thread
From: Zhen Lei @ 2021-04-06  9:19 UTC (permalink / raw)
  To: Eduardo Valentin, Keerthy, Zhang Rui, Daniel Lezcano,
	Amit Kucheria, linux-pm, linux-omap, linux-kernel
  Cc: Zhen Lei

v1 --> v2:
Arrange all included header files in alphabetical order.


Zhen Lei (1):
  thermal: ti-soc-thermal: Remove duplicated header file inclusion

 drivers/thermal/ti-soc-thermal/ti-bandgap.c | 35 ++++++++++++++---------------
 1 file changed, 17 insertions(+), 18 deletions(-)

-- 
1.8.3



^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH v2 1/1] thermal: ti-soc-thermal: Remove duplicated header file inclusion
  2021-04-06  9:19 [PATCH v2 0/1] thermal: ti-soc-thermal: Remove duplicated header file inclusion Zhen Lei
@ 2021-04-06  9:19 ` Zhen Lei
  2021-04-06 10:38   ` J, KEERTHY
                     ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Zhen Lei @ 2021-04-06  9:19 UTC (permalink / raw)
  To: Eduardo Valentin, Keerthy, Zhang Rui, Daniel Lezcano,
	Amit Kucheria, linux-pm, linux-omap, linux-kernel
  Cc: Zhen Lei

Delete one of the header files <linux/of_device.h> that are included
twice, all included header files are then rearranged alphabetically.

Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
---
 drivers/thermal/ti-soc-thermal/ti-bandgap.c | 35 ++++++++++++++---------------
 1 file changed, 17 insertions(+), 18 deletions(-)

diff --git a/drivers/thermal/ti-soc-thermal/ti-bandgap.c b/drivers/thermal/ti-soc-thermal/ti-bandgap.c
index 8a3646e26ddd208..5e7e80b4a8171c4 100644
--- a/drivers/thermal/ti-soc-thermal/ti-bandgap.c
+++ b/drivers/thermal/ti-soc-thermal/ti-bandgap.c
@@ -9,30 +9,29 @@
  *   Eduardo Valentin <eduardo.valentin@ti.com>
  */
 
-#include <linux/module.h>
+#include <linux/clk.h>
+#include <linux/cpu_pm.h>
+#include <linux/device.h>
+#include <linux/err.h>
 #include <linux/export.h>
+#include <linux/gpio/consumer.h>
 #include <linux/init.h>
-#include <linux/kernel.h>
 #include <linux/interrupt.h>
-#include <linux/clk.h>
-#include <linux/gpio/consumer.h>
-#include <linux/platform_device.h>
-#include <linux/err.h>
-#include <linux/types.h>
-#include <linux/spinlock.h>
-#include <linux/sys_soc.h>
-#include <linux/reboot.h>
-#include <linux/of_device.h>
-#include <linux/of_platform.h>
-#include <linux/of_irq.h>
 #include <linux/io.h>
 #include <linux/iopoll.h>
-#include <linux/cpu_pm.h>
-#include <linux/device.h>
-#include <linux/pm_runtime.h>
-#include <linux/pm.h>
-#include <linux/of.h>
+#include <linux/kernel.h>
+#include <linux/module.h>
 #include <linux/of_device.h>
+#include <linux/of.h>
+#include <linux/of_irq.h>
+#include <linux/of_platform.h>
+#include <linux/platform_device.h>
+#include <linux/pm.h>
+#include <linux/pm_runtime.h>
+#include <linux/reboot.h>
+#include <linux/spinlock.h>
+#include <linux/sys_soc.h>
+#include <linux/types.h>
 
 #include "ti-bandgap.h"
 
-- 
1.8.3



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH v2 1/1] thermal: ti-soc-thermal: Remove duplicated header file inclusion
  2021-04-06  9:19 ` [PATCH v2 1/1] " Zhen Lei
@ 2021-04-06 10:38   ` J, KEERTHY
  2021-04-20 17:06   ` Daniel Lezcano
  2021-04-27 19:44   ` [thermal: thermal/next] thermal/drivers/ti-soc-thermal/ti-bandgap: Rearrange all the included header files alphabetically thermal-bot for Zhen Lei
  2 siblings, 0 replies; 5+ messages in thread
From: J, KEERTHY @ 2021-04-06 10:38 UTC (permalink / raw)
  To: Zhen Lei, Eduardo Valentin, Zhang Rui, Daniel Lezcano,
	Amit Kucheria, linux-pm, linux-omap, linux-kernel



On 4/6/2021 2:49 PM, Zhen Lei wrote:
> Delete one of the header files <linux/of_device.h> that are included
> twice, all included header files are then rearranged alphabetically.

Reviewed-by: Keerthy <j-keerthy@ti.com>

> 
> Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
> ---
>   drivers/thermal/ti-soc-thermal/ti-bandgap.c | 35 ++++++++++++++---------------
>   1 file changed, 17 insertions(+), 18 deletions(-)
> 
> diff --git a/drivers/thermal/ti-soc-thermal/ti-bandgap.c b/drivers/thermal/ti-soc-thermal/ti-bandgap.c
> index 8a3646e26ddd208..5e7e80b4a8171c4 100644
> --- a/drivers/thermal/ti-soc-thermal/ti-bandgap.c
> +++ b/drivers/thermal/ti-soc-thermal/ti-bandgap.c
> @@ -9,30 +9,29 @@
>    *   Eduardo Valentin <eduardo.valentin@ti.com>
>    */
>   
> -#include <linux/module.h>
> +#include <linux/clk.h>
> +#include <linux/cpu_pm.h>
> +#include <linux/device.h>
> +#include <linux/err.h>
>   #include <linux/export.h>
> +#include <linux/gpio/consumer.h>
>   #include <linux/init.h>
> -#include <linux/kernel.h>
>   #include <linux/interrupt.h>
> -#include <linux/clk.h>
> -#include <linux/gpio/consumer.h>
> -#include <linux/platform_device.h>
> -#include <linux/err.h>
> -#include <linux/types.h>
> -#include <linux/spinlock.h>
> -#include <linux/sys_soc.h>
> -#include <linux/reboot.h>
> -#include <linux/of_device.h>
> -#include <linux/of_platform.h>
> -#include <linux/of_irq.h>
>   #include <linux/io.h>
>   #include <linux/iopoll.h>
> -#include <linux/cpu_pm.h>
> -#include <linux/device.h>
> -#include <linux/pm_runtime.h>
> -#include <linux/pm.h>
> -#include <linux/of.h>
> +#include <linux/kernel.h>
> +#include <linux/module.h>
>   #include <linux/of_device.h>
> +#include <linux/of.h>
> +#include <linux/of_irq.h>
> +#include <linux/of_platform.h>
> +#include <linux/platform_device.h>
> +#include <linux/pm.h>
> +#include <linux/pm_runtime.h>
> +#include <linux/reboot.h>
> +#include <linux/spinlock.h>
> +#include <linux/sys_soc.h>
> +#include <linux/types.h>
>   
>   #include "ti-bandgap.h"
>   
> 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH v2 1/1] thermal: ti-soc-thermal: Remove duplicated header file inclusion
  2021-04-06  9:19 ` [PATCH v2 1/1] " Zhen Lei
  2021-04-06 10:38   ` J, KEERTHY
@ 2021-04-20 17:06   ` Daniel Lezcano
  2021-04-27 19:44   ` [thermal: thermal/next] thermal/drivers/ti-soc-thermal/ti-bandgap: Rearrange all the included header files alphabetically thermal-bot for Zhen Lei
  2 siblings, 0 replies; 5+ messages in thread
From: Daniel Lezcano @ 2021-04-20 17:06 UTC (permalink / raw)
  To: Zhen Lei, Eduardo Valentin, Keerthy, Zhang Rui, Amit Kucheria,
	linux-pm, linux-omap, linux-kernel

On 06/04/2021 11:19, Zhen Lei wrote:
> Delete one of the header files <linux/of_device.h> that are included
> twice, all included header files are then rearranged alphabetically.

The duplicate header file inclusion has been already fixed in a previous
patch.

Applied this patch by massaging the changelog accordingly and fixing the
conflict.

Thanks

  -- Daniel

-- 
<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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [thermal: thermal/next] thermal/drivers/ti-soc-thermal/ti-bandgap: Rearrange all the included header files alphabetically
  2021-04-06  9:19 ` [PATCH v2 1/1] " Zhen Lei
  2021-04-06 10:38   ` J, KEERTHY
  2021-04-20 17:06   ` Daniel Lezcano
@ 2021-04-27 19:44   ` thermal-bot for Zhen Lei
  2 siblings, 0 replies; 5+ messages in thread
From: thermal-bot for Zhen Lei @ 2021-04-27 19:44 UTC (permalink / raw)
  To: linux-pm; +Cc: Zhen Lei, Keerthy, Daniel Lezcano, rui.zhang, amitk

The following commit has been merged into the thermal/next branch of thermal:

Commit-ID:     5a4a8235fee69b5a31cf1c56a9fa14b0d21a930c
Gitweb:        https://git.kernel.org/pub/scm/linux/kernel/git/thermal/linux.git//5a4a8235fee69b5a31cf1c56a9fa14b0d21a930c
Author:        Zhen Lei <thunder.leizhen@huawei.com>
AuthorDate:    Tue, 06 Apr 2021 17:19:12 +08:00
Committer:     Daniel Lezcano <daniel.lezcano@linaro.org>
CommitterDate: Tue, 20 Apr 2021 19:02:16 +02:00

thermal/drivers/ti-soc-thermal/ti-bandgap: Rearrange all the included header files alphabetically

For the sake of lisibility, reorder the header files alphabetically.

Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Reviewed-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20210406091912.2583-2-thunder.leizhen@huawei.com
---
 drivers/thermal/ti-soc-thermal/ti-bandgap.c | 34 ++++++++++----------
 1 file changed, 17 insertions(+), 17 deletions(-)

diff --git a/drivers/thermal/ti-soc-thermal/ti-bandgap.c b/drivers/thermal/ti-soc-thermal/ti-bandgap.c
index d81af89..008fbed 100644
--- a/drivers/thermal/ti-soc-thermal/ti-bandgap.c
+++ b/drivers/thermal/ti-soc-thermal/ti-bandgap.c
@@ -9,29 +9,29 @@
  *   Eduardo Valentin <eduardo.valentin@ti.com>
  */
 
-#include <linux/module.h>
+#include <linux/clk.h>
+#include <linux/cpu_pm.h>
+#include <linux/device.h>
+#include <linux/err.h>
 #include <linux/export.h>
+#include <linux/gpio/consumer.h>
 #include <linux/init.h>
-#include <linux/kernel.h>
 #include <linux/interrupt.h>
-#include <linux/clk.h>
-#include <linux/gpio/consumer.h>
-#include <linux/platform_device.h>
-#include <linux/err.h>
-#include <linux/types.h>
-#include <linux/spinlock.h>
-#include <linux/sys_soc.h>
-#include <linux/reboot.h>
-#include <linux/of_device.h>
-#include <linux/of_platform.h>
-#include <linux/of_irq.h>
 #include <linux/io.h>
 #include <linux/iopoll.h>
-#include <linux/cpu_pm.h>
-#include <linux/device.h>
-#include <linux/pm_runtime.h>
-#include <linux/pm.h>
+#include <linux/kernel.h>
+#include <linux/module.h>
 #include <linux/of.h>
+#include <linux/of_device.h>
+#include <linux/of_irq.h>
+#include <linux/of_platform.h>
+#include <linux/platform_device.h>
+#include <linux/pm.h>
+#include <linux/pm_runtime.h>
+#include <linux/reboot.h>
+#include <linux/spinlock.h>
+#include <linux/sys_soc.h>
+#include <linux/types.h>
 
 #include "ti-bandgap.h"
 

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-04-27 19:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-06  9:19 [PATCH v2 0/1] thermal: ti-soc-thermal: Remove duplicated header file inclusion Zhen Lei
2021-04-06  9:19 ` [PATCH v2 1/1] " Zhen Lei
2021-04-06 10:38   ` J, KEERTHY
2021-04-20 17:06   ` Daniel Lezcano
2021-04-27 19:44   ` [thermal: thermal/next] thermal/drivers/ti-soc-thermal/ti-bandgap: Rearrange all the included header files alphabetically thermal-bot for Zhen Lei

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.