linux/drivers/misc
Al Viro 3b0d71170d ACPI: asus-laptop: Fix failure exits
> Subject         : drivers/misc/asus-laptop.c:*: error: 'struct led_classdev' has no member named 'class_dev'
> References      : http://lkml.org/lkml/2007/7/22/299
> Submitter       : Gabriel C <nix.or.die@googlemail.com>

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>
Signed-off-by: Len Brown <len.brown@intel.com>
2007-07-23 13:35:23 -04:00
..
hdpuftrs PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
ibmasm some kmalloc/memset ->kzalloc (tree wide) 2007-07-19 10:04:50 -07:00
asus-laptop.c ACPI: asus-laptop: Fix failure exits 2007-07-23 13:35:23 -04:00
eeprom_93cx6.c eeprom_93cx6: shorten pulse timing to match spec (bis) 2007-07-10 12:41:09 -04:00
ioc4.c
Kconfig ACPI: thinkpad-acpi: allow use of CMOS NVRAM for brightness control 2007-07-21 23:49:03 -04:00
lkdtm.c
Makefile [PATCH] Add 93cx6 eeprom library 2007-07-08 22:16:36 -04:00
msi-laptop.c DMI-based module autoloading 2007-07-11 16:09:00 -07:00
phantom.c Misc: phantom, take care of pci posting 2007-05-23 20:14:14 -07:00
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 misc/tifm_7xx1: replace deprecated irq flag 2007-06-01 08:18:28 -07:00
tifm_core.c