diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-02-22 04:42:28 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-02-22 05:22:18 +0400 |
commit | f18acdeacbcf038df3c9b03a96193cb01ca45cbb (patch) | |
tree | 7a4e2703088116918e3bf999f6b42593e4a5b3b9 /include | |
parent | 0c980826211611178b6d76b246d00a4c840f21e5 (diff) | |
download | linux-f18acdeacbcf038df3c9b03a96193cb01ca45cbb.tar.xz |
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')
-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 { struct mipi_dsim_device { struct device *dev; int id; - struct resource *res; struct clk *clock; unsigned int irq; void __iomem *reg_base; |