Re: [PATCH] leds-fsg: Change order of initialization and deinitialization

From: Rod Whitby
Date: Sun Jul 27 2008 - 19:44:47 EST


Sven Wegener wrote:
On initialization, we first do the ioremap and then register the led devices.
On deinitialization, we do it in reverse order. This prevents someone calling
into the brightness_set functions with an invalid latch_address.

Signed-off-by: Sven Wegener <sven.wegener@xxxxxxxxxxx>
Cc: Rod Whitby <rod@xxxxxxxxxxxx>

Acked-by: Rod Whitby <rod@xxxxxxxxxxxx>

Thanks.

-- Rod
--
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/