From: Jim Cromie Date: Sun, 24 Sep 2006 19:02:44 +0000 (+0200) Subject: pc87360: Delete sysfs files on device deletion X-Git-Tag: v2.6.19-rc1~860^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=941c5c05cf38da5e12d70edc5d0fec5c24bce8b6;p=pandora-kernel.git 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 Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed