From: Axel Lin Date: Wed, 19 Sep 2012 20:00:10 +0000 (+0200) Subject: cpufreq: OMAP: Check IS_ERR() instead of NULL for omap_device_get_by_hwmod_name X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~39^2~5^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1bae9958f8b0162aadf79e2ac20bcc9a409bb661;p=pandora-kernel.git cpufreq: OMAP: Check IS_ERR() instead of NULL for omap_device_get_by_hwmod_name omap_device_get_by_hwmod_name() returns ERR_PTR on error. Signed-off-by: Axel Lin Acked-by: Kevin Hilman Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed