mtd: gpmi: Use devm_clk_get()
authorFabio Estevam <fabio.estevam@freescale.com>
Fri, 8 Nov 2013 00:32:38 +0000 (22:32 -0200)
committerBrian Norris <computersforpeace@gmail.com>
Fri, 3 Jan 2014 19:22:08 +0000 (11:22 -0800)
commit554cbc509f4ef95b0f06d04d94f0b0c2019dee26
treee4fc20ef992d062b41c17feb6ae66bf91da3182a
parent89b59e6cc15db8cea20a0c0aac18548bccfcb5f9
mtd: gpmi: Use devm_clk_get()

Using devm_clk_get() can make the code smaller and cleaner.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/gpmi-nand/gpmi-nand.c