summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/board-bonaire-panel.c
diff options
context:
space:
mode:
authorMitch Luban <mluban@nvidia.com>2013-10-30 15:57:32 -0700
committerMitch Luban <mluban@nvidia.com>2013-10-30 18:33:12 -0700
commit175d35129b8a499e786ad779e913bb2c13caf3c0 (patch)
tree7f3ad80070548a91c05debd269ecbe9ff1814bb9 /arch/arm/mach-tegra/board-bonaire-panel.c
parent2611486c29791d083a6a58bb88a23de042d38031 (diff)
Revert "ARM: DT: Add DT entry for PWMs and Backlight"
This change prevented 25x16 panel from booting. This reverts commit 30014ab843618322bb487e1e9e52edec3dfac4b6. Change-Id: I0e41b1215772938be54faea6e5884177184c4036 Reviewed-on: http://git-master/r/309812 Tested-by: Mitch Luban <mluban@nvidia.com> Reviewed-by: Mitch Luban <mluban@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/board-bonaire-panel.c')
-rw-r--r--arch/arm/mach-tegra/board-bonaire-panel.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/arm/mach-tegra/board-bonaire-panel.c b/arch/arm/mach-tegra/board-bonaire-panel.c
index 6cd1e1f23b20..712c1417fc36 100644
--- a/arch/arm/mach-tegra/board-bonaire-panel.c
+++ b/arch/arm/mach-tegra/board-bonaire-panel.c
@@ -758,9 +758,6 @@ static struct platform_device bonaire_nvmap_device = {
static struct platform_device *bonaire_gfx_devices[] __initdata = {
&bonaire_nvmap_device,
-};
-
-static struct platform_device *bonaire_backlight_devices[] __initdata = {
&tegra_pwfm_device,
&bonaire_backlight_device,
};
@@ -799,12 +796,6 @@ int __init bonaire_panel_init(void)
err = platform_add_devices(bonaire_gfx_devices,
ARRAY_SIZE(bonaire_gfx_devices));
- if (!of_have_populated_dt()) {
- /* if error then appened the error */
- err = platform_add_devices(bonaire_backlight_devices,
- ARRAY_SIZE(bonaire_backlight_devices));
- }
-
#ifdef CONFIG_TEGRA_GRHOST
phost1x = bonaire_host1x_init();
if (!phost1x)