]> git.baikalelectronics.ru Git - 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)
commit829caa41c1a043a6235952f9410969c86d108291
tree7cef33b052850bf8c9c90387658438fbe9793f67
parenta8ce60675837da159d23e1758f210feb604dcfb7
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