2020-02-18 05:57:44

by Anson Huang

[permalink] [raw]
Subject: [PATCH] soc: imx: Remove unused include in gpcv2.c

There is nothing in use from sizes.h, remove it.

Signed-off-by: Anson Huang <[email protected]>
---
drivers/soc/imx/gpcv2.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/soc/imx/gpcv2.c b/drivers/soc/imx/gpcv2.c
index 6cf8a7a..b0dffb0 100644
--- a/drivers/soc/imx/gpcv2.c
+++ b/drivers/soc/imx/gpcv2.c
@@ -14,7 +14,6 @@
#include <linux/pm_domain.h>
#include <linux/regmap.h>
#include <linux/regulator/consumer.h>
-#include <linux/sizes.h>
#include <dt-bindings/power/imx7-power.h>
#include <dt-bindings/power/imx8mq-power.h>

--
2.7.4


2020-02-18 06:01:17

by Peng Fan

[permalink] [raw]
Subject: RE: [PATCH] soc: imx: Remove unused include in gpcv2.c

> Subject: [PATCH] soc: imx: Remove unused include in gpcv2.c
>
> There is nothing in use from sizes.h, remove it.

This is needed when moving to support COMPILE_TEST for
soc/imx, please keep it.

Thanks,
Peng.

>
> Signed-off-by: Anson Huang <[email protected]>
> ---
> drivers/soc/imx/gpcv2.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/soc/imx/gpcv2.c b/drivers/soc/imx/gpcv2.c index
> 6cf8a7a..b0dffb0 100644
> --- a/drivers/soc/imx/gpcv2.c
> +++ b/drivers/soc/imx/gpcv2.c
> @@ -14,7 +14,6 @@
> #include <linux/pm_domain.h>
> #include <linux/regmap.h>
> #include <linux/regulator/consumer.h>
> -#include <linux/sizes.h>
> #include <dt-bindings/power/imx7-power.h> #include
> <dt-bindings/power/imx8mq-power.h>
>
> --
> 2.7.4
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> [email protected]
> https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.infr
> adead.org%2Fmailman%2Flistinfo%2Flinux-arm-kernel&amp;data=02%7C01
> %7Cpeng.fan%40nxp.com%7C0101da7d79d34d01963008d7b43773dd%7C68
> 6ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C637176022563909614&a
> mp;sdata=bGqSvUHqnMcnkkvYQwyFNaxUEsPFWNpxjc%2FPcAg0wl8%3D&a
> mp;reserved=0

2020-02-18 06:39:54

by Anson Huang

[permalink] [raw]
Subject: RE: [PATCH] soc: imx: Remove unused include in gpcv2.c



> Subject: RE: [PATCH] soc: imx: Remove unused include in gpcv2.c
>
> > Subject: [PATCH] soc: imx: Remove unused include in gpcv2.c
> >
> > There is nothing in use from sizes.h, remove it.
>
> This is needed when moving to support COMPILE_TEST for soc/imx, please
> keep it.

Ah, yes, I did NOT notice below patch which is in purpose, so just ignore this patch.

commit b5cc96d3bfcbc495a350f78aa2e1295b238d26da
Author: Leonard Crestez <[email protected]>
Date: Mon Jan 20 14:51:28 2020 +0200

soc: imx: gpcv2: include linux/sizes.h

thanks,
Anson