commit | bb82477ebede3d0c37a502a899b68eb45fefca4f | [log] [tgz] |
---|---|---|
author | Akinobu Mita <akinobu.mita@gmail.com> | Mon Sep 03 21:59:59 2012 +0900 |
committer | David Woodhouse <David.Woodhouse@intel.com> | Sat Sep 29 15:34:25 2012 +0100 |
tree | df7352575d835ce21b1dcf210d1d50827fad6ad1 | |
parent | 1f6edadcccfa6a213fd2bbe6f193a78925f8312a [diff] |
mtd: mtd_nandecctest: make module_init() return appropriate errno Return -EINVAL instead of -1 (-EPERM) when test fails. Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>