summaryrefslogtreecommitdiff
path: root/drivers/hwmon/dme1737.c
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2010-10-28 20:31:45 +0200
committerJean Delvare <khali@endymion.delvare>2010-10-28 20:31:45 +0200
commit6f3dcde9c6dcbbe781a2a98900552bcb989733e3 (patch)
tree9eb3891644057a011d24c10e8330299b647a490a /drivers/hwmon/dme1737.c
parent892514a6372d49ffe9749fb86cc587b4dce90733 (diff)
hwmon: (w83795) Merge w83795_create_files and w83795_remove_files
Functions w83795_create_files and w83795_remove_files iterate over the same set of files, just calling a different function. Merge them into a single function which takes the action as a parameter. This saves code, and also ensure that file creation and deletion are in sync. Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'drivers/hwmon/dme1737.c')
0 files changed, 0 insertions, 0 deletions