PM / devfreq: exynos-ppmu: Handle return value of clk_prepare_enable
authorArvind Yadav <[email protected]>
Fri, 19 May 2017 10:56:04 +0000 (16:26 +0530)
committerMyungJoo Ham <[email protected]>
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 <[email protected]>
Signed-off-by: MyungJoo Ham <[email protected]>
drivers/devfreq/event/exynos-ppmu.c