commit | 941c5c05cf38da5e12d70edc5d0fec5c24bce8b6 | [log] [tgz] |
---|---|---|
author | Jim Cromie <jim.cromie@gmail.com> | Sun Sep 24 21:02:44 2006 +0200 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Thu Sep 28 15:31:17 2006 -0700 |
tree | 411baa7b0d43a314ceb58da2c4e551da7ae69161 | |
parent | 44646c19b41e40d81f5e4863466914e8ce060cc0 [diff] |
pc87360: Delete sysfs files on device deletion pc87360: Delete sysfs files on device deletion Add 4 explicit attribute groups for the 5 sensor types: voltage (in), therm, temp, and fan & pwm (together in one group). Use sysfs_remove_group() to drop them, but keeps the existing startup code, which calls device_create_file in loops. Signed-off-by: Jim Cromie <jim.cromie@gmail.com> Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>