From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755434AbcFTPDA (ORCPT ); Mon, 20 Jun 2016 11:03:00 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:58765 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753196AbcFTPCg (ORCPT ); Mon, 20 Jun 2016 11:02:36 -0400 Subject: Re: [PATCH v4 1/2] i2c: qup: add ACPI support To: Mika Westerberg , Wolfram Sang Cc: Austin Christ , linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, rruigrok@codeaurora.org, cov@codeaurora.org, nkaje@codeaurora.org, linux-arm-kernel@lists.infradead.org References: <1465409985-17113-1-git-send-email-austinwc@codeaurora.org> <20160618141034.GB1430@tetsubishi> <20160620082420.GX1739@lahna.fi.intel.com> From: Timur Tabi Message-ID: <5768051E.3020008@codeaurora.org> Date: Mon, 20 Jun 2016 10:00:46 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:43.0) Gecko/20100101 Firefox/43.0 SeaMonkey/2.40 MIME-Version: 1.0 In-Reply-To: <20160620082420.GX1739@lahna.fi.intel.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@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.