HID: i2c-hid: Use ACPI_COMPANION() directly
Instead of doing additional checks and functional calls, just get ACPI companion device directly. Signed-off-by: NAndy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
Showing
想要评论请 注册 或 登录