platform/x86: i2c-multi-instantiate: Drop redundant ACPI_PTR()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 5 Nov 2020 11:05:27 +0000 (13:05 +0200)
committerHans de Goede <hdegoede@redhat.com>
Tue, 24 Nov 2020 10:25:19 +0000 (11:25 +0100)
commit6c328c347ac3dae3c89c2610bc3d0a3ac8574e07
tree572718b0943721e7f20b00ca60b837ccef0baee1
parentce99a277644cc812eb22e0700731165092ac003a
platform/x86: i2c-multi-instantiate: 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>
Link: https://lore.kernel.org/r/20201105110530.27888-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/i2c-multi-instantiate.c