summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/lm83.c
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2009-12-09 20:36:06 +0100
committerJean Delvare <khali@linux-fr.org>2009-12-09 20:36:06 +0100
commit0f14480b62235ef4fce1cd4755e1cde4c9be5f78 (patch)
tree2307177c29b69f30cf0a8b35e0e41c58b9340a2e /drivers/hwmon/lm83.c
parent3d849981711741e76e501e4b9e3e7b792f2b0fd5 (diff)
downloadblackbird-op-linux-0f14480b62235ef4fce1cd4755e1cde4c9be5f78.tar.gz
blackbird-op-linux-0f14480b62235ef4fce1cd4755e1cde4c9be5f78.zip
hwmon: (adt7475) Move sysfs files removal to a separate function
Move sysfs files removal to a separate function. The code is common to the device probing error path and the standard device removal path. As it will grow with future driver development, this avoids code duplication. Signed-off-by: Jean Delvare <khali@linux-fr.org> Cc: Hans de Goede <hdegoede@redhat.com> Cc: Jordan Crouse <jordan@cosmicpenguin.net> Cc: "Darrick J. Wong" <djwong@us.ibm.com>
Diffstat (limited to 'drivers/hwmon/lm83.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud