From: Brian Harring Date: Mon, 18 Oct 2010 23:21:06 +0000 (+0200) Subject: mfd: Add devices platform data when the cell data size is not 0 X-Git-Tag: v2.6.37-rc1~52^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a28dbea0ad3bd8144f3348eb5c20fabc2f12b4b5;p=pandora-kernel.git mfd: Add devices platform data when the cell data size is not 0 When the cell data_size is 0, the resulting platform_data pointer will be set to ZERO_SIZE_PTR. That could be misleading for device drivers running a NULL check on thei platform_data pointer before dereferencing it. Signed-off-by: Brian Harring Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed