OSDN Git Service

gpio: mb86s7x: Handle return value of clk_prepare_enable.
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Tue, 1 Aug 2017 06:43:05 +0000 (12:13 +0530)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 14 Aug 2017 13:03:38 +0000 (15:03 +0200)
commitd829b37ae3bfdb7252e63bd098ad75a96adabe97
treeb3dba784d3b6df23de2d1c6e891ac3638aea0229
parent01062ad31b531f2a3bcbfd9f6267e4e0c1103010
gpio: mb86s7x: 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: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-mb86s7x.c