Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp1343426img; Tue, 19 Mar 2019 05:50:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqxjWrC26rD5ge5z8iQzzssp756d6WZgC3nSuY/6128ULebbjgdieKVc/SSt2ie5SkCzntV1 X-Received: by 2002:a63:af06:: with SMTP id w6mr14484571pge.338.1552999816632; Tue, 19 Mar 2019 05:50:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552999816; cv=none; d=google.com; s=arc-20160816; b=EiAyOjiivokjuQ79OtvNji4joa52Hc+gEFQd+mIKzOgMqpYawqAmeVGT4HJ3uajLfQ 64Bvoz9glWIfR5QccREEBCmDiPwroYxvZWNhE6YmvfjEd25ZBMbTcG25ifriZyPJjYrC eXybxUgWZ9N/XYH7lUsnpXohRZGsqwWd0VnNn70jo97fzYniToyoLMMMoHW1NJoFWP7K Ac6t6O/49aPes3zgDrvXLdU94IinTfZ0cdTL8yogmKVvIgc5D5OTjGdPyiW8SFM/hRW5 sUYeAsrnHvv9Ounz2/79xVdQBuWCxPu+7L0Tp3V2cPXFsb+lYbDGZSHatArilV2Vcyte 7U4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:organisation:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=yKs+LlF8GjPGR5dHYFDc+puY2PDCtaRuBqUquN7E7G8=; b=SgtqoRL9YRt/6rPI4bLL+BU+8ZBWnQBeoDDxS/fsQEqLxAEeRY1YjF51Off76ymdX1 N8n8soKoLoxMs4gQRFdgn8cIY52kYe/qkfihxifHi2Sxt5Rzi+H4HeaHFmXEL10ZIOHl bF1TY0nPZVk8zMAFpFCcVLvBPxJ6/ivwMcidVSZJ4FmZ0IEuKlLoFCeTHkxlf7G372zX PH79U2cAvQxwL4D67hhoLSqNeRp5dWDka/KdGm3d9Jo6VLFJj1f8cU1fZ6l4mbryD9k6 9UAfIqKm0uclWsgwb2UQ6Ecw/guJi2JQ/AQAY3bJBFpjRxln/uYBpdcdfoG9Sk8Smk0L eC+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@verge.net.au header.s=mail header.b=CPzlOTb2; 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 t7si1801021pfh.78.2019.03.19.05.50.01; Tue, 19 Mar 2019 05:50:16 -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; dkim=fail header.i=@verge.net.au header.s=mail header.b=CPzlOTb2; 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 S1727225AbfCSMtO (ORCPT + 99 others); Tue, 19 Mar 2019 08:49:14 -0400 Received: from kirsty.vergenet.net ([202.4.237.240]:47288 "EHLO kirsty.vergenet.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726002AbfCSMtO (ORCPT ); Tue, 19 Mar 2019 08:49:14 -0400 Received: from reginn.horms.nl (watermunt.horms.nl [80.127.179.77]) by kirsty.vergenet.net (Postfix) with ESMTPA id 00BF425BE0A; Tue, 19 Mar 2019 23:49:12 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1552999752; bh=svEFM2qF8slEC7neYjvg6fmK5DaeIaXx5e5A6cepaUA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=CPzlOTb2uXyKmWIOkac61iLgeqkZpQ9MPjE4sM0ZGXTvOaQ4OL5i5rWv9Ajt0iWSo NOJfwobSB8wkKLmxBHZu5zTx6i+Lp7sHMNu2+X1SgqST5oHhmKCQkqJ1YkGPF2YiK7 iYvKV7sGHrv0nDt5NK79Cn9lu4vBCM5B5I4v2O0c= Received: by reginn.horms.nl (Postfix, from userid 7100) id 52A3E940663; Tue, 19 Mar 2019 13:49:10 +0100 (CET) Date: Tue, 19 Mar 2019 13:49:10 +0100 From: Simon Horman To: Wolfram Sang Cc: linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Lee Jones , Mark Brown , Support Opensource , Liam Girdwood Subject: Re: [PATCH 1/6] regulator: da9063: remove platform_data support Message-ID: <20190319124909.7dj6ns5kkgdj4lop@verge.net.au> References: <20190318154759.21978-1-wsa+renesas@sang-engineering.com> <20190318154759.21978-2-wsa+renesas@sang-engineering.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190318154759.21978-2-wsa+renesas@sang-engineering.com> Organisation: Horms Solutions BV User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 18, 2019 at 04:47:53PM +0100, Wolfram Sang wrote: > There are no in-kernel users anymore, so remove this outdated interface. > > Signed-off-by: Wolfram Sang Reviewed-by: Simon Horman > --- > drivers/regulator/da9063-regulator.c | 7 +------ > 1 file changed, 1 insertion(+), 6 deletions(-) > > diff --git a/drivers/regulator/da9063-regulator.c b/drivers/regulator/da9063-regulator.c > index 2b0c7a85306a..73c85039d0cf 100644 > --- a/drivers/regulator/da9063-regulator.c > +++ b/drivers/regulator/da9063-regulator.c > @@ -730,7 +730,6 @@ static struct da9063_regulators_pdata *da9063_parse_regulators_dt( > static int da9063_regulator_probe(struct platform_device *pdev) > { > struct da9063 *da9063 = dev_get_drvdata(pdev->dev.parent); > - struct da9063_pdata *da9063_pdata = dev_get_platdata(da9063->dev); > struct of_regulator_match *da9063_reg_matches = NULL; > struct da9063_regulators_pdata *regl_pdata; > const struct da9063_dev_model *model; > @@ -740,11 +739,7 @@ static int da9063_regulator_probe(struct platform_device *pdev) > bool bcores_merged, bmem_bio_merged; > int id, irq, n, n_regulators, ret, val; > > - regl_pdata = da9063_pdata ? da9063_pdata->regulators_pdata : NULL; > - > - if (!regl_pdata) > - regl_pdata = da9063_parse_regulators_dt(pdev, > - &da9063_reg_matches); > + regl_pdata = da9063_parse_regulators_dt(pdev, &da9063_reg_matches); > > if (IS_ERR(regl_pdata) || regl_pdata->n_regulators == 0) { > dev_err(&pdev->dev, > -- > 2.11.0 >