platform/x86: hp-wmi: Cleanup exit paths
Several exit paths were more complex than they needed to be. Remove superfluous conditionals, use labels common cleanup, do not shadow negative error codes. 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
想要评论请 注册 或 登录