mtd: nand: lpc32xx_slc: Handle return value of clk_prepare_enable.
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Tue, 1 Aug 2017 11:38:06 +0000 (17:08 +0530)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Wed, 23 Aug 2017 14:49:19 +0000 (16:49 +0200)
commit7c94128127ba6ecbaa1e2085088c7337a99aaf51
treece863796241f2df99be8eaebd78b7459b3b29ed3
parent24c9cd8f8d26194aa1a4077c62df90d657766235
mtd: nand: lpc32xx_slc: 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: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/mtd/nand/lpc32xx_slc.c