gpio: davinci: Handle return value of clk_prepare_enable
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Tue, 23 May 2017 09:18:57 +0000 (14:48 +0530)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 29 May 2017 08:37:40 +0000 (10:37 +0200)
commit6dc0048cff988858254fcc26becfc1e9753efa79
tree8449b620b40138a0bdef4aca32e3f498bb296050
parentf37e335f925968942c6f613fa17c57f625042f87
gpio: davinci: 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-davinci.c