Skip to contentSkip to conversation

mfd sharing support (v2, part 1)

PATCH In review Andres Salomon 2 participants 2 messages Feb 12, 2011 – Feb 14, 2011

lore
Share & tools
lore
#0 lore raw

cover mfd sharing support (v2, part 1)

Hi,

Here's my second attempt[0] of the MFD sharing. Rather than go through with the whole thing, this is just the part which makes mfd_cells always available to MFD clients. I'm planning to later remove driver_data, and just use a (renamed) platform_data as a general cleanup, but for now.. Here's the first part.

Again, the goal here is to allow MFD clients to share MFD driver resources. Each platform device that an MFD driver creates has the mfd_cell that created it located in its platform_data area. For drivers that were using the mfd_cell's platform_data field for other purposes, this is now available by grabbing the mfd_cell and looking at its platform_data field.

[0] first attempt -
http://thread.gmane.org/gmane.linux.kernel/1095524/focus=1095546

Reviewed-by on the v1 series
#1 lore raw
Quoted 5 lines · Andres Salomon

Here's my second attempt[0] of the MFD sharing. Rather than go through with the whole thing, this is just the part which makes mfd_cells always available to MFD clients. I'm planning to later remove driver_data, and just use a (renamed) platform_data as a general cleanup, but for now.. Here's the first part.

though I didn't go and check for existing platform data users in the affected drivers.