Skip to content

Commit ef6dfcb

Browse files
Wolfram Sanglag-linaro
authored andcommitted
mfd: tmio: Remove obsolete platform_data
With commit 8971bb8 ("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]> Reviewed-by: Geert Uytterhoeven <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Lee Jones <[email protected]>
1 parent 8b6742e commit ef6dfcb

File tree

1 file changed

+0
-27
lines changed

1 file changed

+0
-27
lines changed

include/linux/mfd/tmio.h

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -103,31 +103,4 @@ struct tmio_mmc_data {
103103
void (*set_pwr)(struct platform_device *host, int state);
104104
void (*set_clk_div)(struct platform_device *host, int state);
105105
};
106-
107-
/*
108-
* data for the NAND controller
109-
*/
110-
struct tmio_nand_data {
111-
struct nand_bbt_descr *badblock_pattern;
112-
struct mtd_partition *partition;
113-
unsigned int num_partitions;
114-
const char *const *part_parsers;
115-
};
116-
117-
#define FBIO_TMIO_ACC_WRITE 0x7C639300
118-
#define FBIO_TMIO_ACC_SYNC 0x7C639301
119-
120-
struct tmio_fb_data {
121-
int (*lcd_set_power)(struct platform_device *fb_dev,
122-
bool on);
123-
int (*lcd_mode)(struct platform_device *fb_dev,
124-
const struct fb_videomode *mode);
125-
int num_modes;
126-
struct fb_videomode *modes;
127-
128-
/* in mm: size of screen */
129-
int height;
130-
int width;
131-
};
132-
133106
#endif

0 commit comments

Comments
 (0)