2020-03-17 03:29:13

by Anson Huang

[permalink] [raw]
Subject: [PATCH] clocksource: imx-tpm: Remove unused includes

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

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

diff --git a/drivers/clocksource/timer-imx-tpm.c b/drivers/clocksource/timer-imx-tpm.c
index c1d52d5..6334a35 100644
--- a/drivers/clocksource/timer-imx-tpm.c
+++ b/drivers/clocksource/timer-imx-tpm.c
@@ -8,8 +8,6 @@
#include <linux/clocksource.h>
#include <linux/delay.h>
#include <linux/interrupt.h>
-#include <linux/of_address.h>
-#include <linux/of_irq.h>
#include <linux/sched_clock.h>

#include "timer-of.h"
--
2.7.4


2020-03-17 09:12:58

by Daniel Lezcano

[permalink] [raw]
Subject: Re: [PATCH] clocksource: imx-tpm: Remove unused includes

On 17/03/2020 03:35, Anson Huang wrote:
> There is nothing in use from of_address.h/of_irq.h, remove them.
>
> Signed-off-by: Anson Huang <[email protected]>

Applied, thanks


> ---
> drivers/clocksource/timer-imx-tpm.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/drivers/clocksource/timer-imx-tpm.c b/drivers/clocksource/timer-imx-tpm.c
> index c1d52d5..6334a35 100644
> --- a/drivers/clocksource/timer-imx-tpm.c
> +++ b/drivers/clocksource/timer-imx-tpm.c
> @@ -8,8 +8,6 @@
> #include <linux/clocksource.h>
> #include <linux/delay.h>
> #include <linux/interrupt.h>
> -#include <linux/of_address.h>
> -#include <linux/of_irq.h>
> #include <linux/sched_clock.h>
>
> #include "timer-of.h"
>


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

Subject: [tip: timers/core] clocksource/drivers/imx-tpm: Remove unused includes

The following commit has been merged into the timers/core branch of tip:

Commit-ID: 55a690f4199d8ab111dceb0a3fd181b52d0938bf
Gitweb: https://git.kernel.org/tip/55a690f4199d8ab111dceb0a3fd181b52d0938bf
Author: Anson Huang <[email protected]>
AuthorDate: Tue, 17 Mar 2020 10:35:49 +08:00
Committer: Daniel Lezcano <[email protected]>
CommitterDate: Tue, 17 Mar 2020 10:10:50 +01:00

clocksource/drivers/imx-tpm: Remove unused includes

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

Signed-off-by: Anson Huang <[email protected]>
Signed-off-by: Daniel Lezcano <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
---
drivers/clocksource/timer-imx-tpm.c | 2 --
1 file changed, 2 deletions(-)

diff --git a/drivers/clocksource/timer-imx-tpm.c b/drivers/clocksource/timer-imx-tpm.c
index c1d52d5..6334a35 100644
--- a/drivers/clocksource/timer-imx-tpm.c
+++ b/drivers/clocksource/timer-imx-tpm.c
@@ -8,8 +8,6 @@
#include <linux/clocksource.h>
#include <linux/delay.h>
#include <linux/interrupt.h>
-#include <linux/of_address.h>
-#include <linux/of_irq.h>
#include <linux/sched_clock.h>

#include "timer-of.h"