* [PATCH] MIPS: ingenic: remove unused platform_data header file
@ 2020-10-26 19:20 Sam Ravnborg
2020-10-26 22:16 ` Paul Cercueil
2020-10-27 12:10 ` Thomas Bogendoerfer
0 siblings, 2 replies; 4+ messages in thread
From: Sam Ravnborg @ 2020-10-26 19:20 UTC (permalink / raw)
To: Thomas Bogendoerfer; +Cc: Paul Cercueil, Harvey Hunt, linux-mips
There are no users of this headers file in the kernel.
All users are likely migrated to device tree which is a good thing.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: Paul Cercueil <paul@crapouillou.net>
Cc: Harvey Hunt <harveyhuntnexus@gmail.com>
Cc: linux-mips@vger.kernel.org
---
I noticed this while surfing around in platform_data for no apperant
reason. So no fancy tooling or some such involved.
Sam
.../linux/platform_data/jz4740/jz4740_nand.h | 25 -------------------
1 file changed, 25 deletions(-)
delete mode 100644 include/linux/platform_data/jz4740/jz4740_nand.h
diff --git a/include/linux/platform_data/jz4740/jz4740_nand.h b/include/linux/platform_data/jz4740/jz4740_nand.h
deleted file mode 100644
index b3f066d63059..000000000000
--- a/include/linux/platform_data/jz4740/jz4740_nand.h
+++ /dev/null
@@ -1,25 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-or-later */
-/*
- * Copyright (C) 2009-2010, Lars-Peter Clausen <lars@metafoo.de>
- * JZ4740 SoC NAND controller driver
- */
-
-#ifndef __JZ4740_NAND_H__
-#define __JZ4740_NAND_H__
-
-#include <linux/mtd/rawnand.h>
-#include <linux/mtd/partitions.h>
-
-#define JZ_NAND_NUM_BANKS 4
-
-struct jz_nand_platform_data {
- int num_partitions;
- struct mtd_partition *partitions;
-
- unsigned char banks[JZ_NAND_NUM_BANKS];
-
- void (*ident_callback)(struct platform_device *, struct mtd_info *,
- struct mtd_partition **, int *num_partitions);
-};
-
-#endif
--
2.27.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] MIPS: ingenic: remove unused platform_data header file
2020-10-26 19:20 [PATCH] MIPS: ingenic: remove unused platform_data header file Sam Ravnborg
@ 2020-10-26 22:16 ` Paul Cercueil
2020-10-27 12:10 ` Thomas Bogendoerfer
1 sibling, 0 replies; 4+ messages in thread
From: Paul Cercueil @ 2020-10-26 22:16 UTC (permalink / raw)
To: Sam Ravnborg; +Cc: Thomas Bogendoerfer, Harvey Hunt, linux-mips
Hi,
Le lun. 26 oct. 2020 à 20:20, Sam Ravnborg <sam@ravnborg.org> a écrit
:
> There are no users of this headers file in the kernel.
> All users are likely migrated to device tree which is a good thing.
>
> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
> Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
> Cc: Paul Cercueil <paul@crapouillou.net>
> Cc: Harvey Hunt <harveyhuntnexus@gmail.com>
> Cc: linux-mips@vger.kernel.org
> ---
>
> I noticed this while surfing around in platform_data for no apperant
> reason. So no fancy tooling or some such involved.
The jz4740-nand driver has been removed in Linux 5.3. Therefore:
Reviewed-by: Paul Cercueil <paul@crapouillou.net>
Cheers,
-Paul
>
> Sam
>
> .../linux/platform_data/jz4740/jz4740_nand.h | 25
> -------------------
> 1 file changed, 25 deletions(-)
> delete mode 100644 include/linux/platform_data/jz4740/jz4740_nand.h
>
> diff --git a/include/linux/platform_data/jz4740/jz4740_nand.h
> b/include/linux/platform_data/jz4740/jz4740_nand.h
> deleted file mode 100644
> index b3f066d63059..000000000000
> --- a/include/linux/platform_data/jz4740/jz4740_nand.h
> +++ /dev/null
> @@ -1,25 +0,0 @@
> -/* SPDX-License-Identifier: GPL-2.0-or-later */
> -/*
> - * Copyright (C) 2009-2010, Lars-Peter Clausen <lars@metafoo.de>
> - * JZ4740 SoC NAND controller driver
> - */
> -
> -#ifndef __JZ4740_NAND_H__
> -#define __JZ4740_NAND_H__
> -
> -#include <linux/mtd/rawnand.h>
> -#include <linux/mtd/partitions.h>
> -
> -#define JZ_NAND_NUM_BANKS 4
> -
> -struct jz_nand_platform_data {
> - int num_partitions;
> - struct mtd_partition *partitions;
> -
> - unsigned char banks[JZ_NAND_NUM_BANKS];
> -
> - void (*ident_callback)(struct platform_device *, struct mtd_info *,
> - struct mtd_partition **, int *num_partitions);
> -};
> -
> -#endif
> --
> 2.27.0
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] MIPS: ingenic: remove unused platform_data header file
2020-10-26 19:20 [PATCH] MIPS: ingenic: remove unused platform_data header file Sam Ravnborg
2020-10-26 22:16 ` Paul Cercueil
@ 2020-10-27 12:10 ` Thomas Bogendoerfer
2020-10-27 16:30 ` Sam Ravnborg
1 sibling, 1 reply; 4+ messages in thread
From: Thomas Bogendoerfer @ 2020-10-27 12:10 UTC (permalink / raw)
To: Sam Ravnborg; +Cc: Paul Cercueil, Harvey Hunt, linux-mips
On Mon, Oct 26, 2020 at 08:20:40PM +0100, Sam Ravnborg wrote:
> There are no users of this headers file in the kernel.
> All users are likely migrated to device tree which is a good thing.
>
> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
> Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
> Cc: Paul Cercueil <paul@crapouillou.net>
> Cc: Harvey Hunt <harveyhuntnexus@gmail.com>
> Cc: linux-mips@vger.kernel.org
> ---
>
> I noticed this while surfing around in platform_data for no apperant
> reason. So no fancy tooling or some such involved.
>
> Sam
>
> .../linux/platform_data/jz4740/jz4740_nand.h | 25 -------------------
> 1 file changed, 25 deletions(-)
> delete mode 100644 include/linux/platform_data/jz4740/jz4740_nand.h
applied to mips-next.
Thomas.
--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] MIPS: ingenic: remove unused platform_data header file
2020-10-27 12:10 ` Thomas Bogendoerfer
@ 2020-10-27 16:30 ` Sam Ravnborg
0 siblings, 0 replies; 4+ messages in thread
From: Sam Ravnborg @ 2020-10-27 16:30 UTC (permalink / raw)
To: Thomas Bogendoerfer; +Cc: Paul Cercueil, Harvey Hunt, linux-mips
Hi Thomas,
On Tue, Oct 27, 2020 at 01:10:43PM +0100, Thomas Bogendoerfer wrote:
> On Mon, Oct 26, 2020 at 08:20:40PM +0100, Sam Ravnborg wrote:
> > There are no users of this headers file in the kernel.
> > All users are likely migrated to device tree which is a good thing.
> >
> > Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
> > Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
> > Cc: Paul Cercueil <paul@crapouillou.net>
> > Cc: Harvey Hunt <harveyhuntnexus@gmail.com>
> > Cc: linux-mips@vger.kernel.org
> > ---
> >
> > I noticed this while surfing around in platform_data for no apperant
> > reason. So no fancy tooling or some such involved.
> >
> > Sam
> >
> > .../linux/platform_data/jz4740/jz4740_nand.h | 25 -------------------
> > 1 file changed, 25 deletions(-)
> > delete mode 100644 include/linux/platform_data/jz4740/jz4740_nand.h
>
> applied to mips-next.
Thanks for the quick response. Hopefully I can contribute something a little
more useful next time :-)
But then cleaning out old cruft is never a waste of time.
Sam
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-10-27 16:30 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-26 19:20 [PATCH] MIPS: ingenic: remove unused platform_data header file Sam Ravnborg
2020-10-26 22:16 ` Paul Cercueil
2020-10-27 12:10 ` Thomas Bogendoerfer
2020-10-27 16:30 ` Sam Ravnborg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).