2020-02-21 08:46:50

by Anson Huang

[permalink] [raw]
Subject: [PATCH 1/3] pwm: imx-tpm: Remove unused includes

There is nothing in use from log2.h/of_address.h, remove them.

Signed-off-by: Anson Huang <[email protected]>
---
drivers/pwm/pwm-imx-tpm.c | 2 --
1 file changed, 2 deletions(-)

diff --git a/drivers/pwm/pwm-imx-tpm.c b/drivers/pwm/pwm-imx-tpm.c
index 9145f61..5f3d7f7 100644
--- a/drivers/pwm/pwm-imx-tpm.c
+++ b/drivers/pwm/pwm-imx-tpm.c
@@ -18,10 +18,8 @@
#include <linux/clk.h>
#include <linux/err.h>
#include <linux/io.h>
-#include <linux/log2.h>
#include <linux/module.h>
#include <linux/of.h>
-#include <linux/of_address.h>
#include <linux/platform_device.h>
#include <linux/pwm.h>
#include <linux/slab.h>
--
2.7.4


2020-02-26 16:17:15

by Uwe Kleine-König

[permalink] [raw]
Subject: Re: [PATCH 1/3] pwm: imx-tpm: Remove unused includes

On Fri, Feb 21, 2020 at 03:45:27PM +0800, Anson Huang wrote:
> There is nothing in use from log2.h/of_address.h, remove them.
>
> Signed-off-by: Anson Huang <[email protected]>
> ---
> drivers/pwm/pwm-imx-tpm.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/drivers/pwm/pwm-imx-tpm.c b/drivers/pwm/pwm-imx-tpm.c
> index 9145f61..5f3d7f7 100644
> --- a/drivers/pwm/pwm-imx-tpm.c
> +++ b/drivers/pwm/pwm-imx-tpm.c
> @@ -18,10 +18,8 @@
> #include <linux/clk.h>
> #include <linux/err.h>
> #include <linux/io.h>
> -#include <linux/log2.h>
> #include <linux/module.h>
> #include <linux/of.h>
> -#include <linux/of_address.h>
> #include <linux/platform_device.h>
> #include <linux/pwm.h>
> #include <linux/slab.h>

Acked-by: Uwe Kleine-K?nig <[email protected]>

Best regards
Uwe

--
Pengutronix e.K. | Uwe Kleine-K?nig |
Industrial Linux Solutions | https://www.pengutronix.de/ |