RE: [PATCH 17/19] mfd: Use mfd cell platform_data for 88pm860xcells platform bits

From: Haojian Zhuang
Date: Mon May 09 2011 - 04:22:14 EST




>-----Original Message-----
>From: Samuel Ortiz [mailto:sameo@xxxxxxxxxxxxxxx]
>Sent: 2011年5月9日 8:32 AM
>To: linux-kernel
>Cc: Samuel Ortiz; Haojian Zhuang; Mark Brown; Liam Girdwood; Richard
>Purdie
>Subject: [PATCH 17/19] mfd: Use mfd cell platform_data for 88pm860x
>cells platform bits
>
>With the addition of a platform device mfd_cell pointer, MFD drivers
>can go back to passing platform back to their sub drivers.
>This allows for an mfd_cell->mfd_data removal and thus keep the
>sub drivers MFD agnostic. This is mostly needed for non MFD aware
>sub drivers.
>
>Cc: Haojian Zhuang <haojian.zhuang@xxxxxxxxxxx>
>Cc: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
>Cc: Liam Girdwood <lrg@xxxxxxxxxxxxxxx>
>Cc: Richard Purdie <rpurdie@xxxxxxxxx>
>Signed-off-by: Samuel Ortiz <sameo@xxxxxxxxxxxxxxx>
>---
> drivers/leds/leds-88pm860x.c | 7 +------
> drivers/mfd/88pm860x-core.c | 18 ++++++++++++------
> drivers/regulator/88pm8607.c | 7 +------
> drivers/video/backlight/88pm860x_bl.c | 7 +------
> 4 files changed, 15 insertions(+), 24 deletions(-)
>
Tested. It's OK.
韬{.n?????%?lzwm?b?Р骒r?zXЩ??{ay????j?f"?????ア?⒎?:+v???????赙zZ+????"?!?O???v??m?鹈 n?帼Y&—