Hi Wolfram,
On Mon, Apr 11 2011, Wolfram Sang wrote:
led_trigger_register_simple() allocates memory which must not be leaked
in the error-path of mmc_add_host. Move it past the only error-check in
the function.
Signed-off-by: Wolfram Sang w.s...@pengutronix.de
---
I don't see any reason
led_trigger_register_simple() allocates memory which must not be leaked
in the error-path of mmc_add_host. Move it past the only error-check in
the function.
Signed-off-by: Wolfram Sang w.s...@pengutronix.de
---
I don't see any reason why it needs to be called before device_add.