mfd: Fix possible s5m null pointer dereference

This patch checks for pdata to using it.

Signed-off-by: Jonghwan Choi <jhbird.choi@samsung.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
Jonghwan Choi 2012-01-16 09:08:42 +09:00 • committed by Samuel Ortiz
commit c3ebb30aae