From mboxrd@z Thu Jan 1 00:00:00 1970 From: Timur Tabi Subject: Re: [PATCH v4 1/2] i2c: qup: add ACPI support Date: Mon, 20 Jun 2016 10:00:46 -0500 Message-ID: <5768051E.3020008@codeaurora.org> References: <1465409985-17113-1-git-send-email-austinwc@codeaurora.org> <20160618141034.GB1430@tetsubishi> <20160620082420.GX1739@lahna.fi.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20160620082420.GX1739@lahna.fi.intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Mika Westerberg , Wolfram Sang Cc: Austin Christ , linux-arm-msm@vger.kernel.org, rruigrok@codeaurora.org, linux-kernel@vger.kernel.org, nkaje@codeaurora.org, cov@codeaurora.org, linux-arm-kernel@lists.infradead.org, linux-i2c@vger.kernel.org List-Id: linux-i2c@vger.kernel.org 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.