commit | d0e84caeb4cd535923884735906e5730329505b4 | [log] [tgz] |
---|---|---|
author | Kyle Manna <kyle@kylemanna.com> | Thu Aug 11 22:33:14 2011 -0500 |
committer | Samuel Ortiz <sameo@linux.intel.com> | Tue Sep 06 16:37:59 2011 +0200 |
tree | 409b5168a878ea302d1aeff50c26369da177f000 | |
parent | 66cc5b8e50af87b0bbd0f179d76d2826f4549c13 [diff] |
mfd: Check for twl4030-madc NULL pointer If the twl4030-madc device wasn't registered, and another device, such as twl4030-madc-hwmon, calls twl4030_madc_conversion() a NULL pointer is dereferenced. Signed-off-by: Kyle Manna <kyle@kylemanna.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>