commit | 6dff11e5ab2f752ad75d0b506fcc981fef9999c5 | [log] [tgz] |
---|---|---|
author | Lee Jones <lee.jones@linaro.org> | Thu May 17 14:45:20 2012 +0100 |
committer | Samuel Ortiz <sameo@linux.intel.com> | Sun May 20 17:27:11 2012 +0200 |
tree | 61d8891cb61143a8b99399cacb724e2d5cb86ae7 | |
parent | 5a8fea031ed5462b63877e0f6d29e0fc0fb82f14 [diff] |
mfd: Prevent unassigned pointer from being used in ab8500-gpadc driver 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>