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

Haojian Zhuang
2011-05-09T08:22:10Z

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="gb2312", Size: 1280 bytes --]

>-----Original Message-----
>From: Samuel Ortiz [mailto:sameo@linux.intel.com]
>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@marvell.com>
>Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
>Cc: Liam Girdwood <lrg@slimlogic.co.uk>
>Cc: Richard Purdie <rpurdie@rpsys.net>
>Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
>---
> 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Ç+‰·Ÿ®‰­†+%ŠËÿ±éÝ¶\x17¥Šwÿº{.nÇ+‰·¥Š{±þG«éÿŠ{ayº\x1dÊ‡Ú™ë,j\a­¢f£¢·hšïêÿ‘êçz_è®\x03(­éšŽŠÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?™¨è­Ú&£ø§~á¶iO•æ¬z·švØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?–I¥