Thread (11 messages) 11 messages, 3 authors, 2012-06-25

[PATCHv9 3/8] I2C: OMAP: use devm_* functions

From: Shubhrajyoti Datta <hidden>
Date: 2012-06-25 10:27:28
Also in: linux-i2c, linux-omap

On Mon, Jun 25, 2012 at 3:21 PM, Felipe Balbi [off-list ref] wrote:
On Thu, Jun 21, 2012 at 03:38:44PM +0530, Shubhrajyoti D wrote:
quoted
The various devm_* functions allocate memory that is released when a driver
detaches. This patch uses devm_kzalloc, devm_request_and_ioremap for data
that is allocated in the probe function of a platform device and is only
freed in the remove function.

Signed-off-by: Shubhrajyoti D <redacted>
this looks a lot like:
http://marc.info/?l=linux-omap&m=133969143407572&w=2

I wonder why wasn't that one used instead ?
Indeed will drop this one from the series.
In fact, missed the irq part.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help