Skip to content
Commit a28dbea0 authored by Brian Harring's avatar Brian Harring Committed by Samuel Ortiz
Browse files

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: default avatarBrian Harring <ferringb@gmail.com>
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent 11c39c4b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment