Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux: Kernel

[PATCH 0/4] mfd:tps65910: use devm_* and register gpio as platform driver

 

 

Linux kernel RSS feed   Index | Next | Previous | View Threaded


ldewangan at nvidia

May 9, 2012, 6:10 AM

Post #1 of 3 (50 views)
Permalink
[PATCH 0/4] mfd:tps65910: use devm_* and register gpio as platform driver

This series does cleanup in the mfd/tps65910 as follows:
- Do not cache the register when initailizing regmap. Cache when
actually when we need it.
- Convert the allocation to use devm_* apis.
- Move the gpio as platform driver and register it as mfd sub devices.

Laxman Dewangan (4):
mfd: tps65910: cache register when we need it
Remove the chaching of register in regmap initialization.

mfd: tps65910: convert all allocation to devm_*
Convert the allocation to use devm_* apis.

mfd: tps65910: register gpio as mfd device
gpio: tps65910: move this as platform driver
Above two patch to make gpio driver as platform driver and register
as mfd sub device from core driver.


drivers/gpio/gpio-tps65910.c | 140 ++++++++++++++++++++++++++++++-----------
drivers/mfd/Kconfig | 1 -
drivers/mfd/tps65910.c | 37 ++++-------
include/linux/mfd/tps65910.h | 6 --
4 files changed, 115 insertions(+), 69 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


sameo at linux

May 11, 2012, 6:14 AM

Post #2 of 3 (44 views)
Permalink
Re: [PATCH 0/4] mfd:tps65910: use devm_* and register gpio as platform driver [In reply to]

Hi Laxman,

On Wed, May 09, 2012 at 06:40:53PM +0530, Laxman Dewangan wrote:
> This series does cleanup in the mfd/tps65910 as follows:
> - Do not cache the register when initailizing regmap. Cache when
> actually when we need it.
> - Convert the allocation to use devm_* apis.
> - Move the gpio as platform driver and register it as mfd sub devices.
>
> Laxman Dewangan (4):
> mfd: tps65910: cache register when we need it
> Remove the chaching of register in regmap initialization.
>
> mfd: tps65910: convert all allocation to devm_*
> Convert the allocation to use devm_* apis.
>
> mfd: tps65910: register gpio as mfd device
> gpio: tps65910: move this as platform driver
> Above two patch to make gpio driver as platform driver and register
> as mfd sub device from core driver.
>
I applied patches 1, 2 and 3. Patch #4 does not apply cleanly to my for-next
branch, could you please rebase it ?
Also, having Grant's ACK for it would be nice.

Cheers,
Samuel.

--
Intel Open Source Technology Centre
http://oss.intel.com/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


ldewangan at nvidia

May 11, 2012, 6:18 AM

Post #3 of 3 (44 views)
Permalink
Re: [PATCH 0/4] mfd:tps65910: use devm_* and register gpio as platform driver [In reply to]

On Friday 11 May 2012 06:44 PM, Samuel Ortiz wrote:
> Hi Laxman,
>
> On Wed, May 09, 2012 at 06:40:53PM +0530, Laxman Dewangan wrote:
>> This series does cleanup in the mfd/tps65910 as follows:
>> - Do not cache the register when initailizing regmap. Cache when
>> actually when we need it.
>> - Convert the allocation to use devm_* apis.
>> - Move the gpio as platform driver and register it as mfd sub devices.
>>
>> Laxman Dewangan (4):
>> mfd: tps65910: cache register when we need it
>> Remove the chaching of register in regmap initialization.
>>
>> mfd: tps65910: convert all allocation to devm_*
>> Convert the allocation to use devm_* apis.
>>
>> mfd: tps65910: register gpio as mfd device
>> gpio: tps65910: move this as platform driver
>> Above two patch to make gpio driver as platform driver and register
>> as mfd sub device from core driver.
>>
> I applied patches 1, 2 and 3. Patch #4 does not apply cleanly to my for-next
> branch, could you please rebase it ?
> Also, having Grant's ACK for it would be nice.
Thanks for taking care.
I will create a new patch based on your tree if Grant is OK with this.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Linux kernel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.