Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Signed-off-by: Samuel Ortiz <[email protected]>
- Loading branch information