linux-stable-rt/drivers/misc
Al Viro d316ee5787 Fix failure exits in asus-laptop
Fallout from f8a7c6fe14.  However, looking
at it shows that checks done in ASUS_LED_UNREGISTER() can't trigger
at all (we never get to asus_led_exit() if registration fails) and
if that registration fails, we actually leak stuff.  IOW, it's worse
than just replacing class_dev with dev in there - the tests themselves
had been papering over the lousy cleanup logics.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Michal Piotrowski <michal.k.k.piotrowski@gmail.com>
Cc: Corentin Chary <corentincj@iksaif.net>
Cc: Karol Kozimor <sziwan@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-07-24 12:24:59 -07:00
..
hdpuftrs
ibmasm some kmalloc/memset ->kzalloc (tree wide) 2007-07-19 10:04:50 -07:00
Kconfig ACPI: thinkpad-acpi: allow use of CMOS NVRAM for brightness control 2007-07-21 23:49:03 -04:00
Makefile [PATCH] Add 93cx6 eeprom library 2007-07-08 22:16:36 -04:00
asus-laptop.c Fix failure exits in asus-laptop 2007-07-24 12:24:59 -07:00
eeprom_93cx6.c eeprom_93cx6: shorten pulse timing to match spec (bis) 2007-07-10 12:41:09 -04:00
ioc4.c
lkdtm.c
msi-laptop.c DMI-based module autoloading 2007-07-11 16:09:00 -07:00
phantom.c
sony-laptop.c sony-laptop: Fix event reading in sony-laptop 2007-07-22 00:34:58 -04:00
thinkpad_acpi.c ACPI: thinkpad-acpi: add locking to brightness subdriver 2007-07-21 23:50:51 -04:00
thinkpad_acpi.h ACPI: thinkpad-acpi: allow use of CMOS NVRAM for brightness control 2007-07-21 23:49:03 -04:00
tifm_7xx1.c
tifm_core.c