leds: leds-pca9532 cleanups
authorAxel Lin <axel.lin@gmail.com>
Thu, 13 Jan 2011 00:59:15 +0000 (16:59 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 13 Jan 2011 16:03:05 +0000 (08:03 -0800)
commit125c7135251de3aea1429968aea9bdfcb6535fc7
treee7f610a5aad18ed24887c0d1a0e71b94eaf603c7
parent2260209c4973e3eeb1e48abaa9e639373a0d4fb7
leds: leds-pca9532 cleanups

- Remove unneeded input_free_device() after input_unregister_device().

- Add pca9532_destroy_devices() function for destroy devices.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Dmitry Torokhov <dtor@mail.ru>
Cc: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/leds/leds-pca9532.c