mtd: brcmnand: defer to devm_ioremap_resource() for error checking
authorBrian Norris <computersforpeace@gmail.com>
Thu, 10 Dec 2015 02:33:17 +0000 (18:33 -0800)
committerBrian Norris <computersforpeace@gmail.com>
Thu, 10 Dec 2015 21:08:08 +0000 (13:08 -0800)
commit207f6582dd9adb8e2ed64b4c64d6d5c009e5bbf9
tree2afc0c7b18a2ae9ae877fc2f6b33e68cefcb837e
parentaf3855dd191799a797e80dc55ecd5a9a226c3e2c
mtd: brcmnand: defer to devm_ioremap_resource() for error checking

devm_ioremap_resource() does error checking on the 'res' argument, so
drop the error check in bcm6368_nand.c.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Tested-by: Simon Arlott <simon@fire.lp0.eu>
drivers/mtd/nand/brcmnand/bcm6368_nand.c