summaryrefslogtreecommitdiff
path: root/drivers/video/exynos/exynos_mipi_dsi.c
diff options
context:
space:
mode:
authorDamien Cassou <damien.cassou@lifl.fr>2012-08-01 18:20:39 +0200
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>2012-08-23 13:08:28 +0000
commitd913f36e02cf22349f6f517e7985411c4ed7d1d9 (patch)
tree7f5d432af091ef71fd97d7ff717e5b31bac85e9e /drivers/video/exynos/exynos_mipi_dsi.c
parentc1f383d97c5b0db5d5c75f996bc1b596efa9ebf8 (diff)
downloadlwn-d913f36e02cf22349f6f517e7985411c4ed7d1d9.tar.gz
lwn-d913f36e02cf22349f6f517e7985411c4ed7d1d9.zip
video: exynos_dp: use devm_clk_get function
The devm_clk_get function allocates memory that is released when a driver detaches. This patch uses this function for data that is allocated in the probe function of a platform device and is only freed in the remove function. Additionally, this patch removes a null check after platform_get_resource that is redundant with the one done by devm_request_and_ioremap. Signed-off-by: Damien Cassou <damien.cassou@lifl.fr> Acked-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'drivers/video/exynos/exynos_mipi_dsi.c')
0 files changed, 0 insertions, 0 deletions