commit | ea621d9fe372b4a6ca2b513c13a37c24a668c35f | [log] [tgz] |
---|---|---|
author | Darren Hart (VMware) <dvhart@infradead.org> | Wed Apr 19 16:26:06 2017 -0700 |
committer | Darren Hart (VMware) <dvhart@infradead.org> | Thu Apr 20 13:26:15 2017 -0700 |
tree | 33ae2b4db01d96c204781dbd6a1ae38404779a45 | |
parent | d8193cff33906e24ac1830ecb2ca95833d058a3a [diff] |
platform/x86: hp-wmi: Refactor redundant HPWMI_READ functions Several functions perform the same WMI read int with different query arguments. Refactor this into a single hp_wmi_read_int function. Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org> Tested-by: Carlo Caione <carlo@endlessm.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>