platform/x86: hp-wmi: Cleanup wireless get_(hw|sw)state functions
Use the new hp_wmi_read_int() function and add a WARN_ONCE() to the TBD regarding passing the error through. These are used in a null return function unfortunately. Signed-off-by: NDarren Hart (VMware) <dvhart@infradead.org> Tested-by: NCarlo Caione <carlo@endlessm.com> Reviewed-by: NAndy Shevchenko <andy.shevchenko@gmail.com>
Showing
想要评论请 注册 或 登录