mtd: r852: Fix device_create_file() usage
authorRichard Weinberger <richard@nod.at>
Mon, 1 Jun 2015 21:10:49 +0000 (23:10 +0200)
committerBrian Norris <computersforpeace@gmail.com>
Wed, 17 Jun 2015 01:58:46 +0000 (18:58 -0700)
device_create_file() can fail, therefore we have to
handle this case and abort.

Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/r852.c

Simple merge