PM / devfreq: exynos-ppmu: Handle return value of clk_prepare_enable
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Fri, 19 May 2017 10:56:04 +0000 (16:26 +0530)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Mon, 12 Jun 2017 01:12:07 +0000 (10:12 +0900)
commit97a6ba5bd0b54544fabe090711fabefc7a703a5f
tree355fc092f37cddde6bab3c66bd2b537431da7244
parent973a27c7464231282489b2f14581e33cf29024b8
PM / devfreq: exynos-ppmu: 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-ppmu.c