From: Damien Cassou Date: Wed, 1 Aug 2012 16:20:39 +0000 (+0200) Subject: video: exynos_dp: use devm_clk_get function X-Git-Tag: v3.7-rc1~48^2~57 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d913f36e02cf22349f6f517e7985411c4ed7d1d9;p=pandora-kernel.git 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 Acked-by: Jingoo Han Signed-off-by: Florian Tobias Schandinat --- Reading git-diff-tree failed