summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/board-loki-panel.c
diff options
context:
space:
mode:
authorAjay Nandakumar <anandakumarm@nvidia.com>2014-01-10 22:49:30 +0530
committerSachin Nikam <snikam@nvidia.com>2014-01-13 04:31:22 -0800
commit38c03e5561938e655fdcbbcf24dcd434e326fb09 (patch)
tree8053993c3e9992cbfd6a98a662e1254047d0d0c5 /arch/arm/mach-tegra/board-loki-panel.c
parent9f0db0c9b9991adb0978cc85ade2efd5be7b0fdb (diff)
arm: tegra: fix warning to enable -Werror
Fix various warnings to enable -Werror option. Bug 1211919 Change-Id: I913728fd3f2cbac0243b4e116c53cb035ed17f35 Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com> Reviewed-on: http://git-master/r/354292 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/board-loki-panel.c')
-rw-r--r--arch/arm/mach-tegra/board-loki-panel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-tegra/board-loki-panel.c b/arch/arm/mach-tegra/board-loki-panel.c
index 8e868c7373db..dc0b1ac1e89b 100644
--- a/arch/arm/mach-tegra/board-loki-panel.c
+++ b/arch/arm/mach-tegra/board-loki-panel.c
@@ -1,7 +1,7 @@
/*
* arch/arm/mach-tegra/board-loki-panel.c
*
- * Copyright (c) 2011-2013, NVIDIA Corporation. All rights reserved.
+ * Copyright (c) 2011-2014, NVIDIA Corporation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -210,7 +210,7 @@ static int loki_hdmi_hotplug_init(struct device *dev)
__func__, PTR_ERR(loki_hdmi_vddio));
loki_hdmi_vddio = NULL;
} else
- regulator_enable(loki_hdmi_vddio);
+ return regulator_enable(loki_hdmi_vddio);
}
return 0;
}