Skip to content

Commit 2e6f2ee

Browse files
committed
OMAPDSS: TFP410: rename dvi -> tfp410
The driver for the TFP410 DPI-to-DVI chip was named quite badly as "DVI panel driver". This patch renames the code to use tfp410 name for the driver. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Acked-by: Tony Lindgren <tony@atomide.com>
1 parent e813a55 commit 2e6f2ee

14 files changed

Lines changed: 78 additions & 78 deletions

File tree

‎arch/arm/mach-omap2/board-3430sdp.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,14 +157,14 @@ static struct omap_dss_device sdp3430_lcd_device = {
157157
.platform_disable = sdp3430_panel_disable_lcd,
158158
};
159159

160-
static struct panel_dvi_platform_data dvi_panel = {
160+
static struct tfp410_platform_data dvi_panel = {
161161
.power_down_gpio = -1,
162162
};
163163

164164
static struct omap_dss_device sdp3430_dvi_device = {
165165
.name = "dvi",
166166
.type = OMAP_DISPLAY_TYPE_DPI,
167-
.driver_name = "dvi",
167+
.driver_name = "tfp410",
168168
.data = &dvi_panel,
169169
.phy.dpi.data_lines = 24,
170170
};

‎arch/arm/mach-omap2/board-am3517evm.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,14 +207,14 @@ static struct omap_dss_device am3517_evm_tv_device = {
207207
.platform_disable = am3517_evm_panel_disable_tv,
208208
};
209209

210-
static struct panel_dvi_platform_data dvi_panel = {
210+
static struct tfp410_platform_data dvi_panel = {
211211
.power_down_gpio = -1,
212212
};
213213

214214
static struct omap_dss_device am3517_evm_dvi_device = {
215215
.type = OMAP_DISPLAY_TYPE_DPI,
216216
.name = "dvi",
217-
.driver_name = "dvi",
217+
.driver_name = "tfp410",
218218
.data = &dvi_panel,
219219
.phy.dpi.data_lines = 24,
220220
};

‎arch/arm/mach-omap2/board-cm-t35.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,14 +241,14 @@ static struct omap_dss_device cm_t35_lcd_device = {
241241
.phy.dpi.data_lines = 18,
242242
};
243243

244-
static struct panel_dvi_platform_data dvi_panel = {
244+
static struct tfp410_platform_data dvi_panel = {
245245
.power_down_gpio = CM_T35_DVI_EN_GPIO,
246246
};
247247

248248
static struct omap_dss_device cm_t35_dvi_device = {
249249
.name = "dvi",
250250
.type = OMAP_DISPLAY_TYPE_DPI,
251-
.driver_name = "dvi",
251+
.driver_name = "tfp410",
252252
.data = &dvi_panel,
253253
.phy.dpi.data_lines = 24,
254254
};

‎arch/arm/mach-omap2/board-devkit8000.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,14 +141,14 @@ static struct omap_dss_device devkit8000_lcd_device = {
141141
.phy.dpi.data_lines = 24,
142142
};
143143

144-
static struct panel_dvi_platform_data dvi_panel = {
144+
static struct tfp410_platform_data dvi_panel = {
145145
.power_down_gpio = -1,
146146
};
147147

148148
static struct omap_dss_device devkit8000_dvi_device = {
149149
.name = "dvi",
150150
.type = OMAP_DISPLAY_TYPE_DPI,
151-
.driver_name = "dvi",
151+
.driver_name = "tfp410",
152152
.data = &dvi_panel,
153153
.phy.dpi.data_lines = 24,
154154
};

‎arch/arm/mach-omap2/board-igep0020.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -444,15 +444,15 @@ static struct twl4030_gpio_platform_data igep_twl4030_gpio_pdata = {
444444
.setup = igep_twl_gpio_setup,
445445
};
446446

447-
static struct panel_dvi_platform_data dvi_panel = {
447+
static struct tfp410_platform_data dvi_panel = {
448448
.i2c_bus_num = 3,
449449
.power_down_gpio = IGEP2_GPIO_DVI_PUP,
450450
};
451451

452452
static struct omap_dss_device igep2_dvi_device = {
453453
.type = OMAP_DISPLAY_TYPE_DPI,
454454
.name = "dvi",
455-
.driver_name = "dvi",
455+
.driver_name = "tfp410",
456456
.data = &dvi_panel,
457457
.phy.dpi.data_lines = 24,
458458
};

‎arch/arm/mach-omap2/board-omap3beagle.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,15 +189,15 @@ static struct mtd_partition omap3beagle_nand_partitions[] = {
189189

190190
/* DSS */
191191

192-
static struct panel_dvi_platform_data dvi_panel = {
192+
static struct tfp410_platform_data dvi_panel = {
193193
.i2c_bus_num = 3,
194194
.power_down_gpio = -1,
195195
};
196196

197197
static struct omap_dss_device beagle_dvi_device = {
198198
.type = OMAP_DISPLAY_TYPE_DPI,
199199
.name = "dvi",
200-
.driver_name = "dvi",
200+
.driver_name = "tfp410",
201201
.data = &dvi_panel,
202202
.phy.dpi.data_lines = 24,
203203
};

‎arch/arm/mach-omap2/board-omap3evm.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,14 +219,14 @@ static struct omap_dss_device omap3_evm_tv_device = {
219219
.platform_disable = omap3_evm_disable_tv,
220220
};
221221

222-
static struct panel_dvi_platform_data dvi_panel = {
222+
static struct tfp410_platform_data dvi_panel = {
223223
.power_down_gpio = OMAP3EVM_DVI_PANEL_EN_GPIO,
224224
};
225225

226226
static struct omap_dss_device omap3_evm_dvi_device = {
227227
.name = "dvi",
228228
.type = OMAP_DISPLAY_TYPE_DPI,
229-
.driver_name = "dvi",
229+
.driver_name = "tfp410",
230230
.data = &dvi_panel,
231231
.phy.dpi.data_lines = 24,
232232
};

‎arch/arm/mach-omap2/board-omap3stalker.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,14 +119,14 @@ static struct omap_dss_device omap3_stalker_tv_device = {
119119
.platform_disable = omap3_stalker_disable_tv,
120120
};
121121

122-
static struct panel_dvi_platform_data dvi_panel = {
122+
static struct tfp410_platform_data dvi_panel = {
123123
.power_down_gpio = DSS_ENABLE_GPIO,
124124
};
125125

126126
static struct omap_dss_device omap3_stalker_dvi_device = {
127127
.name = "dvi",
128128
.type = OMAP_DISPLAY_TYPE_DPI,
129-
.driver_name = "dvi",
129+
.driver_name = "tfp410",
130130
.data = &dvi_panel,
131131
.phy.dpi.data_lines = 24,
132132
};

‎arch/arm/mach-omap2/board-omap4panda.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -421,15 +421,15 @@ static struct omap_board_mux board_mux[] __initdata = {
421421
#define PANDA_DVI_TFP410_POWER_DOWN_GPIO 0
422422

423423
/* Using generic display panel */
424-
static struct panel_dvi_platform_data omap4_dvi_panel = {
424+
static struct tfp410_platform_data omap4_dvi_panel = {
425425
.i2c_bus_num = 3,
426426
.power_down_gpio = PANDA_DVI_TFP410_POWER_DOWN_GPIO,
427427
};
428428

429429
struct omap_dss_device omap4_panda_dvi_device = {
430430
.type = OMAP_DISPLAY_TYPE_DPI,
431431
.name = "dvi",
432-
.driver_name = "dvi",
432+
.driver_name = "tfp410",
433433
.data = &omap4_dvi_panel,
434434
.phy.dpi.data_lines = 24,
435435
.reset_gpio = PANDA_DVI_TFP410_POWER_DOWN_GPIO,

‎arch/arm/mach-omap2/board-overo.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,15 +167,15 @@ static void __init overo_display_init(void)
167167
gpio_export(OVERO_GPIO_LCD_BL, 0);
168168
}
169169

170-
static struct panel_dvi_platform_data dvi_panel = {
170+
static struct tfp410_platform_data dvi_panel = {
171171
.i2c_bus_num = 3,
172172
.power_down_gpio = -1,
173173
};
174174

175175
static struct omap_dss_device overo_dvi_device = {
176176
.name = "dvi",
177177
.type = OMAP_DISPLAY_TYPE_DPI,
178-
.driver_name = "dvi",
178+
.driver_name = "tfp410",
179179
.data = &dvi_panel,
180180
.phy.dpi.data_lines = 24,
181181
};

0 commit comments

Comments
 (0)