mfd: Prevent unassigned pointer from being used in ab8500-gpadc driver
authorLee Jones <lee.jones@linaro.org>
Thu, 17 May 2012 13:45:20 +0000 (14:45 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 20 May 2012 15:27:11 +0000 (17:27 +0200)
Before this patch if probe failed to find the platform IRQ it
would attempt to print a message out using dev_err, which in
turn was being passed an unassigned pointer. This patch
ensures the information passed to dev_err is correct.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>

No differences found