commit | 2377e52f7ca8ebe6ba9ad0e6173915538ee4808b | [log] [tgz] |
---|---|---|
author | Marcus Danielsson <marcus.danielsson@stericsson.com> | Mon Jun 18 15:00:40 2012 +0200 |
committer | Lee Jones <lee.jones@linaro.org> | Thu Mar 07 12:28:02 2013 +0800 |
tree | 2cb4de1e8a922d96f109e2d7443d6daa806ae693 | |
parent | 2cf64e264828aa0be841751d41fcd7f13a98d778 [diff] |
mfd: ab8500-sysctrl: Error check clean up Add error checks to see if sysctrl was probed as it should. If the sysctrl_dev is not set the return value is -EINVAL. Signed-off-by: Marcus Danielsson <marcus.danielsson@stericsson.com> Signed-off-by: Lee Jones <lee.jones@linaro.org> Reviewed-by: Mattias WALLIN <mattias.wallin@stericsson.com> Tested-by: Per FORLIN <per.forlin@stericsson.com> Acked-by: Samuel Ortiz <sameo@linux.intel.com>