From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932824AbcFTPJU (ORCPT ); Mon, 20 Jun 2016 11:09:20 -0400 Received: from mga01.intel.com ([192.55.52.88]:23772 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753241AbcFTPJI (ORCPT ); Mon, 20 Jun 2016 11:09:08 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,499,1459839600"; d="scan'208";a="1001621779" Date: Mon, 20 Jun 2016 18:07:22 +0300 From: Mika Westerberg To: Timur Tabi Cc: Wolfram Sang , 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 Subject: Re: [PATCH v4 1/2] i2c: qup: add ACPI support Message-ID: <20160620150722.GP1739@lahna.fi.intel.com> References: <1465409985-17113-1-git-send-email-austinwc@codeaurora.org> <20160618141034.GB1430@tetsubishi> <20160620082420.GX1739@lahna.fi.intel.com> <5768051E.3020008@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5768051E.3020008@codeaurora.org> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.6.1 (2016-04-27) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 20, 2016 at 10:00:46AM -0500, Timur Tabi wrote: > 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. Yes, that's the preferred one.