Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp546639img; Mon, 18 Mar 2019 08:51:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqwN1jTZJWwnpAcMmUFtsDFWCLSFEas/cAxMQZRSlvjOljci8/MppNMNTp0VXsVjrp2x6A7p X-Received: by 2002:a62:5687:: with SMTP id h7mr19714259pfj.198.1552924269672; Mon, 18 Mar 2019 08:51:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552924269; cv=none; d=google.com; s=arc-20160816; b=BJy5CoTF8dbHdFkL2zYdWSzl2TO2lqsiYte5z/mCb+iX3FyckzaqNszcLBjSF3WKdL 2YhHiJtZGwcHpN4WHzjNLoxE/KaVd/n6C2mtjEy+7rVyQjTI3qDNxao9HPJ5R2tXZvwq XYzQEL5ZlhpIUAoTmAFdkAfM48Y6fNm7LMIY3i8W5djy72Ey++vy0YCzqhNPty39JDZ2 3e5PLAierNt1oUOweQKzhq4XCa8iBHniK5qfK9rdJE4xfXsLNOmH1v0RluWmd7OHMS6Q lzd/Dj1OzfSFkA0KwzCwH9ACeegU+V99f+NZI/OtLMvuU4mdEaWlMBvnl+wxvt5Pvimo xeqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=lW1aDoCckhQebM9uty4LGES7vakeJ1gTfWj4hQoNDqI=; b=bIaNlaadDk1/oVkgYAVlTBGjvEb+7UY2OM26CIJav/8BfDWAiuQyQIEn/jcmfEurRz kzHpJhQ/ZdglG9/e45YtHACso6ur65227dKrsueDyM5tOKSV6ji24gDUble7PlhfQQzD da6ZJFH52CWOZMiVleznKimT0wxCcDCbGtZFS0U3fc3pbbTO4wBGva5MGr9Qfr/BkZwi /5UK0LyT068vHyRmfbV/kwHOUADumfwedYj/G2byTkpUZm/Oxe3fA0HsXk6DOijul1Uv C9YmygHZ/vLGJIpNke6ezW+ISc5GnukdbddOvGywQ7IAsxutkkOKKkqgSe9aKbhzR6HA OdCA== 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 k74si9748175pfb.32.2019.03.18.08.50.54; Mon, 18 Mar 2019 08:51:09 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727453AbfCRPs6 (ORCPT + 99 others); Mon, 18 Mar 2019 11:48:58 -0400 Received: from sauhun.de ([88.99.104.3]:36808 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727089AbfCRPs5 (ORCPT ); Mon, 18 Mar 2019 11:48:57 -0400 Received: from localhost (p54B330C6.dip0.t-ipconnect.de [84.179.48.198]) by pokefinder.org (Postfix) with ESMTPSA id 22D224B20B8; Mon, 18 Mar 2019 16:48:56 +0100 (CET) From: Wolfram Sang To: linux-kernel@vger.kernel.org Cc: linux-renesas-soc@vger.kernel.org, Lee Jones , Mark Brown , Support Opensource , Wolfram Sang , Liam Girdwood Subject: [PATCH 1/6] regulator: da9063: remove platform_data support Date: Mon, 18 Mar 2019 16:47:53 +0100 Message-Id: <20190318154759.21978-2-wsa+renesas@sang-engineering.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190318154759.21978-1-wsa+renesas@sang-engineering.com> References: <20190318154759.21978-1-wsa+renesas@sang-engineering.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There are no in-kernel users anymore, so remove this outdated interface. Signed-off-by: Wolfram Sang --- 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