drivers/video/exynos/exynos_mipi_dsi.c: use devm_* APIs
authorSachin Kamat <sachin.kamat@linaro.org>
Fri, 22 Feb 2013 00:42:28 +0000 (16:42 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 22 Feb 2013 01:22:18 +0000 (17:22 -0800)
commitf18acdeacbcf038df3c9b03a96193cb01ca45cbb
tree7a4e2703088116918e3bf999f6b42593e4a5b3b9
parent0c980826211611178b6d76b246d00a4c840f21e5
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>
drivers/video/exynos/exynos_mipi_dsi.c
include/video/exynos_mipi_dsim.h