OSDN Git Service

mtd: nand: fsmc: Remove BUG macros
authorStefan Roese <sr@denx.de>
Fri, 2 Oct 2015 10:40:21 +0000 (12:40 +0200)
committerBrian Norris <computersforpeace@gmail.com>
Fri, 2 Oct 2015 18:08:17 +0000 (11:08 -0700)
commit6efadcf9592c2ed438d1692ca55168e3de5c975b
tree154f218590d2c71b285fa7316f25be32d460d39b
parentcbf29b83caa8c336cdb80b44bd1b959372e24d28
mtd: nand: fsmc: Remove BUG macros

Remove the BUG macros and return with error (if possible) instead.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/fsmc_nand.c