mfd: tc6393xb: Handle return value of clk_prepare_enable
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Thu, 1 Jun 2017 07:14:50 +0000 (12:44 +0530)
committerLee Jones <lee.jones@linaro.org>
Thu, 6 Jul 2017 07:29:12 +0000 (08:29 +0100)
commitb6678050a1d9ce971bbb343607d3920efe7131a7
treed420a824d026e20280503e9d9c929f2753422ef8
parent842086d2b5a6cec23d598edffb5137c72b265c50
mfd: tc6393xb: 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: Lee Jones <lee.jones@linaro.org>
drivers/mfd/tc6393xb.c