Thread (9 messages) 9 messages, 6 authors, 2009-08-22

[PATCH] Convert MMC subsys drivers to dev_pm_ops

flat view

From: Nicolas Pitre <hidden>
Date: 2009-08-22 02:44:31
Also in: lkml

On Sat, 22 Aug 2009, Marek Vasut wrote:
Hi,

This converts most of the drivers found in drivers/mmc/host to dev_pm_ops.
Also, it contains some fixes for the probe/remove functions in some cases.
Are you sure you're actually fixing things?

You replaced platform_driver_probe() calls with 
platform_driver_register() calls, and made the probe functions __devinit 
instead of __init.  Especially when the platform device is unlikely to 
go away or new ones to ever appear, there is no point keeping the 
probe code around after it is done.


Nicolas
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help