diff options
| author | 2012-06-18 15:00:40 +0200 | |
|---|---|---|
| committer | 2013-03-07 12:28:02 +0800 | |
| commit | 2377e52f7ca8ebe6ba9ad0e6173915538ee4808b (patch) | |
| tree | 2cb4de1e8a922d96f109e2d7443d6daa806ae693 /include/linux | |
| parent | mfd: ab8500-debug: Add wake-up info (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>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
