X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fmisc%2Feeepc-laptop.c;h=facdb9893c84c322dbb65f47e2a7bf8de3c69685;hb=f14413184b1de4dcbd5ec3e7c129c3ce2079f543;hp=9e8d79e7e9f4cb4b105840ce71420e435820edd5;hpb=1e24b15b267293567a8d752721c7ae63f281325a;p=linux-2.6 diff --git a/drivers/misc/eeepc-laptop.c b/drivers/misc/eeepc-laptop.c index 9e8d79e7e9..facdb9893c 100644 --- a/drivers/misc/eeepc-laptop.c +++ b/drivers/misc/eeepc-laptop.c @@ -553,9 +553,9 @@ static void eeepc_hwmon_exit(void) hwmon = eeepc_hwmon_device; if (!hwmon) return ; - hwmon_device_unregister(hwmon); sysfs_remove_group(&hwmon->kobj, &hwmon_attribute_group); + hwmon_device_unregister(hwmon); eeepc_hwmon_device = NULL; }