]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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, 22 Nov 2013 22:12:46 +0000 (14:12 -0800)
commitab85a514e376f428d6f3c1506c1cea5cbd49ab3f
treec5cf15a2b37200b9380a50a777949fa376f02f37
parentcfc8296e46c3f6a57b69b3e602f4efd66d973e39
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