[PATCH 2/2] mtd: omap2: Use devm_ioremap_resource()
Brian Norris
computersforpeace at gmail.com
Wed Mar 26 02:25:18 EDT 2014
On Wed, Feb 12, 2014 at 11:34:37AM +0900, Jingoo Han wrote:
> Use devm_ioremap_resource() in order to make the code simpler,
> and remove redundant return value check of platform_get_resource()
> because the value is checked by devm_ioremap_resource(). Also,
> 'unsigned long mem_size' is removed from 'struct omap_nand_info',
> because the 'mem_size' variable is not necessary anymore.
>
> Signed-off-by: Jingoo Han <jg1.han at samsung.com>
Required a bit of rebasing, since Pekon has been making a few changes.
Pushed to l2-mtd.git!
Thanks,
Brian
More information about the linux-mtd
mailing list