Skip to content
Commit e710d7d5 authored by Samuel Ortiz's avatar Samuel Ortiz
Browse files

mfd: Fetch cell pointer from platform_device->mfd_cell



In order for MFD drivers to fetch their cell pointer but also their
platform data one, an mfd cell pointer is added to the platform_device
structure.
That allows all MFD sub devices drivers to be MFD agnostic, unless
they really need to access their MFD cell data. Most of them don't,
especially the ones for IPs used by both MFD and non MFD SoCs.

Cc: Grant Likely <grant.likely@secretlab.ca>
Acked-by: default avatarGreg KH <gregkh@suse.de>
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent a6360dd3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment