2024-02-09 01:59:19

by Wolfram Sang

[permalink] [raw]
Subject: [PATCH 1/6] mfd: tmio: remove obsolete platform_data

With commit 8971bb812e3c ("mfd: remove toshiba tmio drivers"), all users
of platform data for NAND and framebuffers are gone. So, remove
definitions from the header, too.

Signed-off-by: Wolfram Sang <[email protected]>
---
include/linux/mfd/tmio.h | 27 ---------------------------
1 file changed, 27 deletions(-)

diff --git a/include/linux/mfd/tmio.h b/include/linux/mfd/tmio.h
index eace8ea6cda0..bc53323293a3 100644
--- a/include/linux/mfd/tmio.h
+++ b/include/linux/mfd/tmio.h
@@ -103,31 +103,4 @@ struct tmio_mmc_data {
void (*set_pwr)(struct platform_device *host, int state);
void (*set_clk_div)(struct platform_device *host, int state);
};
-
-/*
- * data for the NAND controller
- */
-struct tmio_nand_data {
- struct nand_bbt_descr *badblock_pattern;
- struct mtd_partition *partition;
- unsigned int num_partitions;
- const char *const *part_parsers;
-};
-
-#define FBIO_TMIO_ACC_WRITE 0x7C639300
-#define FBIO_TMIO_ACC_SYNC 0x7C639301
-
-struct tmio_fb_data {
- int (*lcd_set_power)(struct platform_device *fb_dev,
- bool on);
- int (*lcd_mode)(struct platform_device *fb_dev,
- const struct fb_videomode *mode);
- int num_modes;
- struct fb_videomode *modes;
-
- /* in mm: size of screen */
- int height;
- int width;
-};
-
#endif
--
2.43.0



2024-02-09 07:54:36

by Lee Jones

[permalink] [raw]
Subject: Re: [PATCH 1/6] mfd: tmio: remove obsolete platform_data

On Fri, 09 Feb 2024, Wolfram Sang wrote:

> With commit 8971bb812e3c ("mfd: remove toshiba tmio drivers"), all users
> of platform data for NAND and framebuffers are gone. So, remove
> definitions from the header, too.
>
> Signed-off-by: Wolfram Sang <[email protected]>
> ---
> include/linux/mfd/tmio.h | 27 ---------------------------
> 1 file changed, 27 deletions(-)

Acked-by: Lee Jones <[email protected]>

> diff --git a/include/linux/mfd/tmio.h b/include/linux/mfd/tmio.h
> index eace8ea6cda0..bc53323293a3 100644
> --- a/include/linux/mfd/tmio.h
> +++ b/include/linux/mfd/tmio.h
> @@ -103,31 +103,4 @@ struct tmio_mmc_data {
> void (*set_pwr)(struct platform_device *host, int state);
> void (*set_clk_div)(struct platform_device *host, int state);
> };
> -
> -/*
> - * data for the NAND controller
> - */
> -struct tmio_nand_data {
> - struct nand_bbt_descr *badblock_pattern;
> - struct mtd_partition *partition;
> - unsigned int num_partitions;
> - const char *const *part_parsers;
> -};
> -
> -#define FBIO_TMIO_ACC_WRITE 0x7C639300
> -#define FBIO_TMIO_ACC_SYNC 0x7C639301
> -
> -struct tmio_fb_data {
> - int (*lcd_set_power)(struct platform_device *fb_dev,
> - bool on);
> - int (*lcd_mode)(struct platform_device *fb_dev,
> - const struct fb_videomode *mode);
> - int num_modes;
> - struct fb_videomode *modes;
> -
> - /* in mm: size of screen */
> - int height;
> - int width;
> -};
> -
> #endif
> --
> 2.43.0
>

--
Lee Jones [李琼斯]