Messages in this thread | | | Date | Tue, 27 Dec 2011 17:10:33 +0000 | From | Mark Brown <> | Subject | Re: [PATCH 1/2] scripts/coccinelle: semantic patches related to devm_ functions |
| |
On Tue, Dec 27, 2011 at 05:41:31PM +0100, Julia Lawall wrote: > From: Julia Lawall <Julia.Lawall@lip6.fr> > > From: Julia Lawall <Julia.Lawall@lip6.fr>
Something went wrong here?
> devm_ functions allocate memory that is to remain allocated until the > device is detached. This patch checks for opportunities for using the > function devm_request_and_ioremap.
Note that devm_request_and_ioremap() is scheduled for merge in 3.3 so patches based on this should probably wait until after that has been merged.
| |