diff options
author | Jingoo Han <jg1.han@samsung.com> | 2012-05-25 16:20:45 +0900 |
---|---|---|
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2012-05-29 13:16:15 +0000 |
commit | 4d10ecf86b31b732092dc9668a6088323c24ab09 (patch) | |
tree | 744a64339a6f79e9be4e48fadcb82a4c5c9c382e /drivers/video/exynos/exynos_dp_core.h | |
parent | cc4401142c1cbc63b01d6024cbc7a9f804cb3143 (diff) | |
download | talos-obmc-linux-4d10ecf86b31b732092dc9668a6088323c24ab09.tar.gz talos-obmc-linux-4d10ecf86b31b732092dc9668a6088323c24ab09.zip |
video: exynos_dp: use devm_ functions
The devm_ functions allocate memory that is released when a driver
detaches. This makes the code smaller and a bit simpler.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'drivers/video/exynos/exynos_dp_core.h')
-rw-r--r-- | drivers/video/exynos/exynos_dp_core.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/video/exynos/exynos_dp_core.h b/drivers/video/exynos/exynos_dp_core.h index 519c3a6a5c58..8f596b9e7b2b 100644 --- a/drivers/video/exynos/exynos_dp_core.h +++ b/drivers/video/exynos/exynos_dp_core.h @@ -26,7 +26,6 @@ struct link_train { struct exynos_dp_device { struct device *dev; - struct resource *res; struct clk *clock; unsigned int irq; void __iomem *reg_base; |