diff options
author | Len Brown <len.brown@intel.com> | 2007-08-25 02:18:44 (GMT) |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-08-25 02:18:44 (GMT) |
commit | ca1f32a76bcd5fb3d655a989edd7c004c4a63bc6 (patch) | |
tree | 148efd6a50562356e02f31eb09b0d8c05ed2c017 | |
parent | 1a8f46100b657f533ce677e79bc27c6794c91c46 (diff) | |
parent | e1996a69e162b1c99c3d3802684d1c388b54f47d (diff) | |
download | linux-fsl-qoriq-ca1f32a76bcd5fb3d655a989edd7c004c4a63bc6.tar.xz |
Pull asus into release branch
-rw-r--r-- | drivers/misc/asus-laptop.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/misc/asus-laptop.c b/drivers/misc/asus-laptop.c index d0fc4fd..40db9f7 100644 --- a/drivers/misc/asus-laptop.c +++ b/drivers/misc/asus-laptop.c @@ -1072,7 +1072,8 @@ static void asus_backlight_exit(void) } #define ASUS_LED_UNREGISTER(object) \ - led_classdev_unregister(&object##_led) + if (object##_led.dev) \ + led_classdev_unregister(&object##_led) static void asus_led_exit(void) { |