Re: [PATCH v1 1/1] HID: i2c-hid: acpi: Drop redundant ACPI_PTR()

From: Andy Shevchenko
Date: Fri Feb 26 2021 - 13:47:27 EST


On Fri, Feb 26, 2021 at 8:35 PM Andy Shevchenko
<andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:
>
> 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.

Oh, I see more improvements can be done, so, I will send this and the
rest as v2 altogether.

--
With Best Regards,
Andy Shevchenko