platform/x86: dell-wmi: clean up wmi descriptor check
Some cases the wrong type was used for errors and checks can be done more cleanly. Signed-off-by: NMario Limonciello <mario.limonciello@dell.com> Reviewed-by: NEdward O'Callaghan <quasisec@google.com> Suggested-by: NAndy Shevchenko <andy.shevchenko@gmail.com> Reviewed-by: NPali Rohár <pali.rohar@gmail.com> Signed-off-by: NDarren Hart (VMware) <dvhart@infradead.org>
Showing
想要评论请 注册 或 登录