hwmon: (asus_atk0110) Refactor the code
commit18e255558574c5663c9d72fe82c099d2115aee55
authorLuca Tettamanti <kronos.it@gmail.com>
Fri, 9 Oct 2009 18:35:18 +0000 (9 20:35 +0200)
committerJean Delvare <khali@linux-fr.org>
Fri, 9 Oct 2009 18:35:18 +0000 (9 20:35 +0200)
tree395c31badbb72a7da87871512b3c16eba9f07d11
parentcb0f1a1e77e4280c3138047ad5c16d88320a1fde
hwmon: (asus_atk0110) Refactor the code

Refactor the code of the new style interface around GGRP (enumeration) and
GITM (read) helpers to mimic ASL code. Also switch the read path to use
dynamic buffers (handled by ACPI core) since ASUS expanded the return buffer
(ASBF) in newer boards (e.g. P7P55D).

Signed-off-by: Luca Tettamanti <kronos.it@gmail.com>
Tested-by: Robert Hancock <hancockrwd@gmail.com>
Tested-by: Thomas Backlund <tmb@mandriva.org>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/asus_atk0110.c