2020-03-11 05:14:33

by Anson Huang

[permalink] [raw]
Subject: [PATCH 2/2] thermal: qoriq: Sort includes alphabetically

Sort includes alphabetically for consistency, and take this chance
to remove unused include of of_address.h.

Signed-off-by: Anson Huang <[email protected]>
---
drivers/thermal/qoriq_thermal.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/thermal/qoriq_thermal.c b/drivers/thermal/qoriq_thermal.c
index 67a8d84..028a6bb 100644
--- a/drivers/thermal/qoriq_thermal.c
+++ b/drivers/thermal/qoriq_thermal.c
@@ -3,12 +3,11 @@
// Copyright 2016 Freescale Semiconductor, Inc.

#include <linux/clk.h>
-#include <linux/module.h>
-#include <linux/platform_device.h>
#include <linux/err.h>
#include <linux/io.h>
+#include <linux/module.h>
#include <linux/of.h>
-#include <linux/of_address.h>
+#include <linux/platform_device.h>
#include <linux/regmap.h>
#include <linux/sizes.h>
#include <linux/thermal.h>
--
2.7.4


2020-03-11 08:59:14

by Amit Kucheria

[permalink] [raw]
Subject: Re: [PATCH 2/2] thermal: qoriq: Sort includes alphabetically

On Wed, Mar 11, 2020 at 10:44 AM Anson Huang <[email protected]> wrote:
>
> Sort includes alphabetically for consistency, and take this chance
> to remove unused include of of_address.h.


Reviewed-by: Amit Kucheria <[email protected]>

> Signed-off-by: Anson Huang <[email protected]>
> ---
> drivers/thermal/qoriq_thermal.c | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/thermal/qoriq_thermal.c b/drivers/thermal/qoriq_thermal.c
> index 67a8d84..028a6bb 100644
> --- a/drivers/thermal/qoriq_thermal.c
> +++ b/drivers/thermal/qoriq_thermal.c
> @@ -3,12 +3,11 @@
> // Copyright 2016 Freescale Semiconductor, Inc.
>
> #include <linux/clk.h>
> -#include <linux/module.h>
> -#include <linux/platform_device.h>
> #include <linux/err.h>
> #include <linux/io.h>
> +#include <linux/module.h>
> #include <linux/of.h>
> -#include <linux/of_address.h>
> +#include <linux/platform_device.h>
> #include <linux/regmap.h>
> #include <linux/sizes.h>
> #include <linux/thermal.h>
> --
> 2.7.4
>