Searched hist:"0960941043 a19c0413b30dc5e88a55c593fda1cb" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/hid/i2c-hid/ |
H A D | i2c-hid-acpi.c | diff 0960941043a19c0413b30dc5e88a55c593fda1cb Fri Feb 26 20:32:25 CET 2021 Andy Shevchenko <andriy.shevchenko@linux.intel.com> HID: i2c-hid: acpi: Drop redundant ACPI_PTR()
The driver depends on ACPI, ACPI_PTR() resolution is always the same. Otherwise a compiler may produce a warning.
That said, the rule of thumb either ugly ifdeffery with ACPI_PTR or none should be used in a driver.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
|