Re: [PATCH v4 1/2] i2c: qup: add ACPI support

From: Timur Tabi
Date: Mon Jun 20 2016 - 11:03:01 EST


Mika Westerberg wrote:
Use has_acpi_companion() if you need to.

Is has_acpi_companion() the preferred alternative to ACPI_HANDLE()? We frequently need to write code that does something different on ACPI vs DT, and there doesn't appear to be much consistency on how that's handled.

--
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the
Code Aurora Forum, hosted by The Linux Foundation.