PM / devfreq: exynos-nocp: Handle return value of clk_prepare_enable
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Fri, 19 May 2017 10:50:35 +0000 (16:20 +0530)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Mon, 12 Jun 2017 01:12:07 +0000 (10:12 +0900)
commit973a27c7464231282489b2f14581e33cf29024b8
tree0e02cda58902663e55e542e864200aec8828eb65
parent32c1431eea4881a6b17bd7c639315010aeefa452
PM / devfreq: exynos-nocp: Handle return value of clk_prepare_enable

clk_prepare_enable() can fail here and we must check its return value.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
drivers/devfreq/event/exynos-nocp.c