commit | 57dd990c5e9c4664f3db4cba271c808ca7adf9e5 | [log] [tgz] |
---|---|---|
author | Brian Norris <computersforpeace@gmail.com> | Mon Jun 01 16:17:18 2015 -0700 |
committer | Brian Norris <computersforpeace@gmail.com> | Tue Jun 16 18:47:06 2015 -0700 |
tree | deb9049881f05845774a03093b86d458de6db7b8 | |
parent | 6a7c7334fe250b53c42eb9d3887fd42bdc9d0d28 [diff] |
mtd: propagate error codes from add_mtd_device() It makes more sense to return error statuses, not 1/0. Signed-off-by: Brian Norris <computersforpeace@gmail.com> Reviewed-by: Richard Weinberger <richard@nod.at>