From 2b274fe522e9d5ac7397e07e3516bb10e3c2ee92 Mon Sep 17 00:00:00 2001 From: Chao Xie Date: Sun, 18 Aug 2013 21:27:55 -0400 Subject: [PATCH] mfd: 88pm805: Fix potential NULL pdata dereference User pass platform data to device, and platform data may be NULL. Add the check for pdata. Signed-off-by: Chao Xie Signed-off-by: Samuel Ortiz --- Reading git-format-patch failed