From: Jean Delvare Date: Thu, 28 Oct 2010 18:31:45 +0000 (+0200) Subject: hwmon: (w83795) Merge w83795_create_files and w83795_remove_files X-Git-Tag: v2.6.37-rc1~59^2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f3dcde9c6dcbbe781a2a98900552bcb989733e3;p=pandora-kernel.git 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 --- Reading git-diff-tree failed