Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp1212578ybm; Tue, 21 May 2019 10:18:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqxKkQM0EZVHVpz6pfXFR1oUHm+peOfoFbxPDpSOQLFfjNSxdXrMsv1iGCUrkGNwnAuVxVWC X-Received: by 2002:aa7:880f:: with SMTP id c15mr91574795pfo.100.1558459112248; Tue, 21 May 2019 10:18:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558459112; cv=none; d=google.com; s=arc-20160816; b=mrJfQUsvzGJAH4Ln8bhPd6XZaIWcSDnDohb69Ysd/tG1tuzUlbiRJQJVUdBP6aRRW/ iuyTF8fhHhgoGOaPFENtCkjELGKQrRhaxLjEwpkqtSlq05b0Cd5p9DoUijZJpaW5pj9c IQcL1s8EWUekRzEP6d4mcR70qyTZ27+BcnosMZUgMFpOi+u7YP3jlXT+D4VrsNKm48g3 r4GNqp+azQuAS67N3RPz1tN9Q4fOb7qIq9UU/VT2LDf7jtWVYomSapq8fRXrLu77Hfah 1O8SrK891+XDIqKLfuS+H5ZMxF+GmKMZcwFoA63o0V1qKVTiVIPcDWQWLo9RdwOg1O7p vyFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:organization:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=xGUTgmsDhBIbg/thHPMJFhDYNdb2g16K1JoBMtk6Mmw=; b=MIAkXOxu/ZtDOccvm3GLH1Bizu5t9is4CHBivRyTMAp3Iuq8V6ax8cBcIoySCZL1/L 7nySyZrNtusVR+wfst7faQaF65417tPJsSNCfUjBMB7lcYZ/2Zp+ARNR3+fbQ3gRcZ+R zbLUmz5rzWPC7flFEWlAz+XopT6nkjhpMtP5adN56Bjf2rxne6fPaZc67ZmShR26Ne/d fMqUV5nDAijiVwPTVAnW4JUgYKyHCbY4Ffco/wiwEX7YXJgePrG1G4F2Ban+AW46S+Ub 9pAyrVD6TumsFdnmmVVqeSIG86aKTK8QJ39U5KUUjiCtDFrIrIwZZBzieSjy3rZKW1Q0 Qy+A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o4si22753806plb.69.2019.05.21.10.18.16; Tue, 21 May 2019 10:18:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729097AbfEURQv (ORCPT + 99 others); Tue, 21 May 2019 13:16:51 -0400 Received: from mga12.intel.com ([192.55.52.136]:32068 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727898AbfEURQv (ORCPT ); Tue, 21 May 2019 13:16:51 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 May 2019 10:16:50 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,495,1549958400"; d="scan'208";a="174089577" Received: from smile.fi.intel.com (HELO smile) ([10.237.68.145]) by fmsmga002.fm.intel.com with ESMTP; 21 May 2019 10:16:48 -0700 Received: from andy by smile with local (Exim 4.92) (envelope-from ) id 1hT8Nb-0001m7-WF; Tue, 21 May 2019 20:16:48 +0300 Date: Tue, 21 May 2019 20:16:47 +0300 From: Andy Shevchenko To: Charles Keepax Cc: wsa@the-dreams.de, mika.westerberg@linux.intel.com, jarkko.nikula@linux.intel.com, linux-i2c@vger.kernel.org, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, benjamin.tissoires@redhat.com, jbroadus@gmail.com, patches@opensource.cirrus.com Subject: Re: [PATCH 2/5] i2c: acpi: Use available IRQ helper functions Message-ID: <20190521171647.GM9224@smile.fi.intel.com> References: <20190521150502.27305-1-ckeepax@opensource.cirrus.com> <20190521150502.27305-3-ckeepax@opensource.cirrus.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190521150502.27305-3-ckeepax@opensource.cirrus.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 21, 2019 at 04:04:59PM +0100, Charles Keepax wrote: > Use the available IRQ helper functions, most of the functions have > additional helpful side affects like configuring the trigger type of the > IRQ. More logical to me is to do this as a first patch in the series. Besides that, I would really split it into two: - exporting helper; - using it. -- With Best Regards, Andy Shevchenko