mtd: nand: pxa3xx: Use devm_clk_get
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Wed, 17 Apr 2013 16:38:11 +0000 (13:38 -0300)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 5 Aug 2013 19:47:33 +0000 (20:47 +0100)
commit9ca7944deb25d415f7fc5915b9828a857161b97f
tree969492ff066c1fc5945900d819d27fccf2f7833c
parent0ddd846f56a7648b9e70fb94a2b93b5b8b6ae335
mtd: nand: pxa3xx: Use devm_clk_get

Replacing clk_get by managed devm_clk_get, the error path
can be greatly simplified.

Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/pxa3xx_nand.c