]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
hwmon: (dme1737) demacrofy for readability
authorJuerg Haefliger <juergh@gmail.com>
Wed, 26 Mar 2008 04:49:02 +0000 (21:49 -0700)
committerMark M. Hoffman <mhoffman@lightlink.com>
Fri, 1 Aug 2008 03:44:01 +0000 (23:44 -0400)
commit9b257714a3f6f5c3ea133c44d3442e2340734b65
tree7cef33b052850bf8c9c90387658438fbe9793f67
parentbce7f793daec3e65ec5c5705d2457b81fe7b5725
hwmon: (dme1737) demacrofy for readability

This patch gets rid of a couple of macros previously used for sysfs attribute
generation and manipulation. This makes the source a little bigger but a lot
more readable and maintainable. It also fixes an issue with pwm5 & pwm6
attributes not being created read-only initially.

Signed-Off-By: Juerg Haefliger <juergh at gmail.com>
Acked-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
drivers/hwmon/dme1737.c