Received: by 10.223.185.116 with SMTP id b49csp3485016wrg; Tue, 13 Feb 2018 03:07:36 -0800 (PST) X-Google-Smtp-Source: AH8x227fivng1r2YTYmF36jiUNRsSmCZ882mgp7jHzX7OShcEOjbEq/JPBeYX32vjzIeV/dN4VtI X-Received: by 2002:a17:902:4222:: with SMTP id g31-v6mr747490pld.335.1518520056002; Tue, 13 Feb 2018 03:07:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518520055; cv=none; d=google.com; s=arc-20160816; b=omLtOKBmWMSLb5Et4Pw56k81YsZPkoIlZpqBFCSiwMdHNyzaTs8P67kceH8DCpHnlB NG5LPgYuAOMB9ZOAZF1reuDLCFhrKDyj4guSuyn7wo01cB+DdJDsylYYvsnG0s3sQ+ti SrFajD1svNcGzhLrgg2fpjI+8QYy9WhZ06OsOrizepH/WEL5wf2wHs+gX/8B1iyusTeC WqkZm6Yl7KQGMBlCfXNQLF6mr3S9DcVJeUinwUC5HoDKBzBwYZwyzphlAPM4jLykGs9Q 7GPWd6qliQuXrp4ibJpZTdqKpJV4+p3MFGv+w2fXoayI/Dkcw+XunVbA+LHKvEZ3aF5d mvvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=XWSOMLmwg91YbI+mKL37e6oJ3aG98JHzVkTDDdbzHtU=; b=YmBvUaDz97Q7erc3b4CERK5GPI2h57pxZTJ+8aXsbik8YL94SQB9+4Zvw8zbhiJHdY 2rX1+q3wtvv8dGnwH9ePDqUzWJMvsnLtUI2YlCmtDlxz+vTOJxpK25+/X3a1gKp4KE/5 D9JIJ/MmokVxJ53stzFOkw+kQ31Z8DXsPLxYF5LLFG4wVZpPXfPlXJP1YoWb1nmxmMiP cC2tgZgw50QPIsynKNM8c9tnTLJwGbRGKD6N7c6sF+s8hUp33L2A1zeTh77x/cxy0KjC jKtlP7vSULR3NRLxf0UFNnPXolyWGsRIX6JB0c/hbAOcyPY04KVhKXfAGt06XQN1Qyhy hr8A== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u77si1158179pfd.165.2018.02.13.03.07.19; Tue, 13 Feb 2018 03:07:35 -0800 (PST) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934387AbeBMLGi (ORCPT + 99 others); Tue, 13 Feb 2018 06:06:38 -0500 Received: from mx0b-001ae601.pphosted.com ([67.231.152.168]:52136 "EHLO mx0b-001ae601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934079AbeBMLGg (ORCPT ); Tue, 13 Feb 2018 06:06:36 -0500 Received: from pps.filterd (m0077474.ppops.net [127.0.0.1]) by mx0b-001ae601.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w1DB3fRw008895; Tue, 13 Feb 2018 05:06:33 -0600 Authentication-Results: ppops.net; spf=none smtp.mailfrom=ckeepax@opensource.cirrus.com Received: from mail4.cirrus.com ([87.246.98.35]) by mx0b-001ae601.pphosted.com with ESMTP id 2g1x1u39v4-1; Tue, 13 Feb 2018 05:06:32 -0600 Received: from EX17.ad.cirrus.com (unknown [172.20.9.81]) by mail4.cirrus.com (Postfix) with ESMTP id E6374611CE66; Tue, 13 Feb 2018 05:07:16 -0600 (CST) Received: from imbe.wolfsonmicro.main (198.61.95.81) by EX17.ad.cirrus.com (172.20.9.81) with Microsoft SMTP Server id 14.3.301.0; Tue, 13 Feb 2018 11:06:32 +0000 Received: from localhost.localdomain (algalon.ad.cirrus.com [198.90.251.122]) by imbe.wolfsonmicro.main (8.14.4/8.14.4) with ESMTP id w1DB6Vdf020696; Tue, 13 Feb 2018 11:06:31 GMT Date: Tue, 13 Feb 2018 11:06:31 +0000 From: Charles Keepax To: Linus Walleij CC: Liam Girdwood , Mark Brown , , , , Richard Fitzgerald Subject: Re: [PATCH 05/21] regulator: arizona-ldo1: Look up a descriptor and pass to the core Message-ID: <20180213110631.o3zn5bifvypofsyg@localhost.localdomain> References: <20180212131717.27193-1-linus.walleij@linaro.org> <20180212131717.27193-6-linus.walleij@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20180212131717.27193-6-linus.walleij@linaro.org> User-Agent: NeoMutt/20170113 (1.7.2) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=2 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=738 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1802130133 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 12, 2018 at 02:17:01PM +0100, Linus Walleij wrote: > Instead of passing a global GPIO number, pass a descriptor looked > up with the standard devm_gpiod_get_optional() call. > > We have augmented the GPIO core to look up the regulator special > GPIO "wlf,ldoena" in a separate patch. > > Cc: patches@opensource.cirrus.com > Cc: Richard Fitzgerald > Signed-off-by: Linus Walleij > --- > drivers/regulator/arizona-ldo1.c | 19 ++++++------------- > include/linux/regulator/arizona-ldo1.h | 3 --- > 2 files changed, 6 insertions(+), 16 deletions(-) > Does this patch not also need to update the hookups in arch/arm/mach-s3c64xx/mach-crag6410-module.c? There is wm5102_reva_pdata and wm5102_pdata both of which use the ldoena you are removing here? Thanks, Charles