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: NLuca Tettamanti <kronos.it@gmail.com> Tested-by: NRobert Hancock <hancockrwd@gmail.com> Tested-by: NThomas Backlund <tmb@mandriva.org> Signed-off-by: NJean Delvare <khali@linux-fr.org>
Showing
想要评论请 注册 或 登录