diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-02-21 19:42:28 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-02-21 20:22:18 -0500 |
commit | f18acdeacbcf038df3c9b03a96193cb01ca45cbb (patch) | |
tree | 7a4e2703088116918e3bf999f6b42593e4a5b3b9 /include/video | |
parent | 0c980826211611178b6d76b246d00a4c840f21e5 (diff) |
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.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/video/exynos_mipi_dsim.h b/include/video/exynos_mipi_dsim.h index 83ce5e667d47..89dc88a171af 100644 --- a/include/video/exynos_mipi_dsim.h +++ b/include/video/exynos_mipi_dsim.h | |||
@@ -220,7 +220,6 @@ struct mipi_dsim_config { | |||
220 | struct mipi_dsim_device { | 220 | struct mipi_dsim_device { |
221 | struct device *dev; | 221 | struct device *dev; |
222 | int id; | 222 | int id; |
223 | struct resource *res; | ||
224 | struct clk *clock; | 223 | struct clk *clock; |
225 | unsigned int irq; | 224 | unsigned int irq; |
226 | void __iomem *reg_base; | 225 | void __iomem *reg_base; |