]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mtd: sh_flctl: use devm_* managed allocators
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Wed, 27 Nov 2013 10:27:44 +0000 (11:27 +0100)
committerBrian Norris <computersforpeace@gmail.com>
Mon, 9 Dec 2013 21:34:01 +0000 (13:34 -0800)
commit924a213383a9cf7ab363250d44cc02446e487b67
treedaeb4013d7fbfdbbc49c4dd87deb6a683b79f834
parentc0a3e8e6875366585e96260c6e099fa2451390ef
mtd: sh_flctl: use devm_* managed allocators

This simplifies error and cleanup code paths.

Cc: David Woodhouse <dwmw2@infradead.org>
Cc: linux-mtd@lists.infradead.org
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/sh_flctl.c