Files
erofs-linux/drivers
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 <[email protected]>
Michal Piotrowski <[email protected]>
Cc: Corentin Chary <[email protected]>
Cc: Karol Kozimor <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
2007-07-24 12:24:59 -07:00
..
…
…
2007-07-21 18:37:10 -07:00
2007-07-21 17:49:16 -07:00
2007-07-21 18:37:12 -07:00
…
…
…
…
…
…
2007-07-20 08:24:49 -07:00
2007-07-21 18:37:12 -07:00
2007-07-21 17:49:17 -07:00
2007-07-22 11:13:59 -07:00
…
2007-07-21 17:49:15 -07:00
…
2007-07-21 17:49:14 -07:00
…
2007-07-24 12:24:59 -07:00
2007-07-20 14:25:51 +10:00
…
…
…
2007-07-21 17:49:17 -07:00
…
…
…
…
…
…
2007-07-20 13:39:59 +10:00