From: Marcus Danielsson Date: Mon, 18 Jun 2012 13:00:40 +0000 (+0200) Subject: mfd: ab8500-sysctrl: Error check clean up X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~31^2~85^2~58 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2377e52f7ca8ebe6ba9ad0e6173915538ee4808b;p=pandora-kernel.git 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 Signed-off-by: Lee Jones Reviewed-by: Mattias WALLIN Tested-by: Per FORLIN Acked-by: Samuel Ortiz --- Reading git-diff-tree failed