Re: [PATCH] ARM: leds: Add MAX6956 driver

From: Shuah Khan
Date: Mon May 21 2012 - 12:12:06 EST


On Mon, 2012-05-21 at 10:26 +0200, Uwe Kleine-KÃnig wrote:

> > As Shuah said, no kfree(ddata) here
> As Sascha said, it would be wrong to add one.

Thanks. Didn't realize devm_* take care of free at device detach. I am
starting to see patches that make this change to other leds drivers.
Something new to learn. :)

-- Shuah


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