Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

platform/x86: system76: Drop redundant devm_led_classdev_unregister()

Drop two redundant devm_led_classdev_unregister() calls from
system76_remove().

No intentional functional impact.

Suggested-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://patch.msgid.link/5057164.GXAFRqVoOG@rafael.j.wysocki
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>

authored by

Rafael J. Wysocki and committed by
Ilpo Järvinen
5539165c de683724

-3
-3
drivers/platform/x86/system76_acpi.c
··· 800 800 kfree(data->ntmp); 801 801 } 802 802 803 - devm_led_classdev_unregister(&acpi_dev->dev, &data->ap_led); 804 - devm_led_classdev_unregister(&acpi_dev->dev, &data->kb_led); 805 - 806 803 system76_get(data, "FINI"); 807 804 } 808 805