summaryrefslogtreecommitdiffstats
path: root/include/video
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-02-21 16:42:28 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2013-02-21 17:22:18 -0800
commitf18acdeacbcf038df3c9b03a96193cb01ca45cbb (patch)
tree7a4e2703088116918e3bf999f6b42593e4a5b3b9 /include/video
parent0c980826211611178b6d76b246d00a4c840f21e5 (diff)
downloadop-kernel-dev-f18acdeacbcf038df3c9b03a96193cb01ca45cbb.zip
op-kernel-dev-f18acdeacbcf038df3c9b03a96193cb01ca45cbb.tar.gz
drivers/video/exynos/exynos_mipi_dsi.c: use devm_* APIs
devm_* APIs are device managed and make exit and cleanup code simpler. While at it also remove some unused labels and fix an error path. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Acked-by: Donghwa Lee <dh09.lee@samsung.com> Cc: Inki Dae <inki.dae@samsung.com> Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/video')
-rw-r--r--include/video/exynos_mipi_dsim.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/video/exynos_mipi_dsim.h b/include/video/exynos_mipi_dsim.h
index 83ce5e6..89dc88a 100644
--- a/include/video/exynos_mipi_dsim.h
+++ b/include/video/exynos_mipi_dsim.h
@@ -220,7 +220,6 @@ struct mipi_dsim_config {
struct mipi_dsim_device {
struct device *dev;
int id;
- struct resource *res;
struct clk *clock;
unsigned int irq;
void __iomem *reg_base;
OpenPOWER on IntegriCloud