diff options
author | Marcus Danielsson <marcus.danielsson@stericsson.com> | 2012-06-18 15:00:40 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2013-03-07 05:28:02 +0100 |
commit | 2377e52f7ca8ebe6ba9ad0e6173915538ee4808b (patch) | |
tree | 2cb4de1e8a922d96f109e2d7443d6daa806ae693 /drivers/mfd/ab8500-debugfs.c | |
parent | mfd: ab8500-debug: Add wake-up info (diff) | |
download | linux-2377e52f7ca8ebe6ba9ad0e6173915538ee4808b.tar.xz linux-2377e52f7ca8ebe6ba9ad0e6173915538ee4808b.zip |
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 'drivers/mfd/ab8500-debugfs.c')
0 files changed, 0 insertions, 0 deletions