]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (asus_atk0110) Refactor the code
authorLuca Tettamanti <kronos.it@gmail.com>
Fri, 9 Oct 2009 18:35:18 +0000 (20:35 +0200)
committerJean Delvare <khali@linux-fr.org>
Fri, 9 Oct 2009 18:35:18 +0000 (20:35 +0200)
commit8e72a2ad8ad728428abf75071e8ec87390b28266
tree395c31badbb72a7da87871512b3c16eba9f07d11
parent99765a9d965b84b2ea3663990c5bf4dd39a90c94
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