2023-03-03 13:04:15

by Muhammad Usama Anjum

[permalink] [raw]
Subject: [PATCH] soc/tegra: cbb: remove linux/version.h

make versioncheck reports the following:
./drivers/soc/tegra/cbb/tegra-cbb.c: 19 linux/version.h not needed.
./drivers/soc/tegra/cbb/tegra194-cbb.c: 26 linux/version.h not needed.
./drivers/soc/tegra/cbb/tegra234-cbb.c: 27 linux/version.h not needed.

So remove linux/version.h from these files.

Signed-off-by: Muhammad Usama Anjum <[email protected]>
---
drivers/soc/tegra/cbb/tegra-cbb.c | 1 -
drivers/soc/tegra/cbb/tegra194-cbb.c | 1 -
drivers/soc/tegra/cbb/tegra234-cbb.c | 1 -
3 files changed, 3 deletions(-)

diff --git a/drivers/soc/tegra/cbb/tegra-cbb.c b/drivers/soc/tegra/cbb/tegra-cbb.c
index a8566b9dd8de..bd96204a68ee 100644
--- a/drivers/soc/tegra/cbb/tegra-cbb.c
+++ b/drivers/soc/tegra/cbb/tegra-cbb.c
@@ -16,7 +16,6 @@
#include <linux/of_address.h>
#include <linux/interrupt.h>
#include <linux/ioport.h>
-#include <linux/version.h>
#include <soc/tegra/fuse.h>
#include <soc/tegra/tegra-cbb.h>

diff --git a/drivers/soc/tegra/cbb/tegra194-cbb.c b/drivers/soc/tegra/cbb/tegra194-cbb.c
index d4112b683f00..a05fc2caff3b 100644
--- a/drivers/soc/tegra/cbb/tegra194-cbb.c
+++ b/drivers/soc/tegra/cbb/tegra194-cbb.c
@@ -23,7 +23,6 @@
#include <linux/of_address.h>
#include <linux/interrupt.h>
#include <linux/ioport.h>
-#include <linux/version.h>
#include <soc/tegra/fuse.h>
#include <soc/tegra/tegra-cbb.h>

diff --git a/drivers/soc/tegra/cbb/tegra234-cbb.c b/drivers/soc/tegra/cbb/tegra234-cbb.c
index f33d094e5ea6..e23e8acfd7c7 100644
--- a/drivers/soc/tegra/cbb/tegra234-cbb.c
+++ b/drivers/soc/tegra/cbb/tegra234-cbb.c
@@ -24,7 +24,6 @@
#include <linux/of_address.h>
#include <linux/interrupt.h>
#include <linux/ioport.h>
-#include <linux/version.h>
#include <soc/tegra/fuse.h>
#include <soc/tegra/tegra-cbb.h>

--
2.39.2



2023-03-06 15:59:33

by Jon Hunter

[permalink] [raw]
Subject: Re: [PATCH] soc/tegra: cbb: remove linux/version.h


On 03/03/2023 13:03, Muhammad Usama Anjum wrote:
> make versioncheck reports the following:
> ./drivers/soc/tegra/cbb/tegra-cbb.c: 19 linux/version.h not needed.
> ./drivers/soc/tegra/cbb/tegra194-cbb.c: 26 linux/version.h not needed.
> ./drivers/soc/tegra/cbb/tegra234-cbb.c: 27 linux/version.h not needed.
>
> So remove linux/version.h from these files.
>
> Signed-off-by: Muhammad Usama Anjum <[email protected]>
> ---
> drivers/soc/tegra/cbb/tegra-cbb.c | 1 -
> drivers/soc/tegra/cbb/tegra194-cbb.c | 1 -
> drivers/soc/tegra/cbb/tegra234-cbb.c | 1 -
> 3 files changed, 3 deletions(-)
>
> diff --git a/drivers/soc/tegra/cbb/tegra-cbb.c b/drivers/soc/tegra/cbb/tegra-cbb.c
> index a8566b9dd8de..bd96204a68ee 100644
> --- a/drivers/soc/tegra/cbb/tegra-cbb.c
> +++ b/drivers/soc/tegra/cbb/tegra-cbb.c
> @@ -16,7 +16,6 @@
> #include <linux/of_address.h>
> #include <linux/interrupt.h>
> #include <linux/ioport.h>
> -#include <linux/version.h>
> #include <soc/tegra/fuse.h>
> #include <soc/tegra/tegra-cbb.h>
>
> diff --git a/drivers/soc/tegra/cbb/tegra194-cbb.c b/drivers/soc/tegra/cbb/tegra194-cbb.c
> index d4112b683f00..a05fc2caff3b 100644
> --- a/drivers/soc/tegra/cbb/tegra194-cbb.c
> +++ b/drivers/soc/tegra/cbb/tegra194-cbb.c
> @@ -23,7 +23,6 @@
> #include <linux/of_address.h>
> #include <linux/interrupt.h>
> #include <linux/ioport.h>
> -#include <linux/version.h>
> #include <soc/tegra/fuse.h>
> #include <soc/tegra/tegra-cbb.h>
>
> diff --git a/drivers/soc/tegra/cbb/tegra234-cbb.c b/drivers/soc/tegra/cbb/tegra234-cbb.c
> index f33d094e5ea6..e23e8acfd7c7 100644
> --- a/drivers/soc/tegra/cbb/tegra234-cbb.c
> +++ b/drivers/soc/tegra/cbb/tegra234-cbb.c
> @@ -24,7 +24,6 @@
> #include <linux/of_address.h>
> #include <linux/interrupt.h>
> #include <linux/ioport.h>
> -#include <linux/version.h>
> #include <soc/tegra/fuse.h>
> #include <soc/tegra/tegra-cbb.h>
>

Reviewed-by: Jon Hunter <[email protected]>

Thanks
Jon

--
nvpublic

2023-03-23 14:47:11

by Thierry Reding

[permalink] [raw]
Subject: Re: [PATCH] soc/tegra: cbb: remove linux/version.h

From: Thierry Reding <[email protected]>

On Fri, 3 Mar 2023 18:03:46 +0500, Muhammad Usama Anjum wrote:
> make versioncheck reports the following:
> ./drivers/soc/tegra/cbb/tegra-cbb.c: 19 linux/version.h not needed.
> ./drivers/soc/tegra/cbb/tegra194-cbb.c: 26 linux/version.h not needed.
> ./drivers/soc/tegra/cbb/tegra234-cbb.c: 27 linux/version.h not needed.
>
> So remove linux/version.h from these files.
>
> [...]

Applied, thanks!

[1/1] soc/tegra: cbb: remove linux/version.h
commit: 9737a63558deeec01ce202c6c06c96a0503a3128

Best regards,
--
Thierry Reding <[email protected]>