Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp1344398img; Tue, 19 Mar 2019 05:51:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqymKNVQA5Dva7tE21i+rit0HtaVtgC5iJFzl1KX415m7xTW1z7j7PIjZ7KSE/1onivZqijz X-Received: by 2002:a17:902:274a:: with SMTP id j10mr2205767plg.277.1552999906975; Tue, 19 Mar 2019 05:51:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552999906; cv=none; d=google.com; s=arc-20160816; b=zmUwfepeVd5ZZ7hkN7JdmcZr5wKlrVSYg/3owZXjFCmpNLY1Cbkc306WXuYPLR/D/c 17U42B0a3gTpy7WQHnQXrBy+RZd7W9Rm3aeg7LmKnauGENe2Pp3gSaGwcJ2iF/V8P+PP oXTejsdSsvRt0vPZ1e1BsaqTd7IymGqL6bXSe6soEK5LyV6YZFP5hnTI2doxPlmrNciA hHRyBZSB0IxP0HHdqWBZs4z4HVx3IWTVzYJ4c2y3yegTv2D/yQOGlMSQffgLZjWzYhUX o/196Vyf53VNGRmQxjYWd+2P1JOuPn+WdqYgorFpGbrUBWpweYIlT3u964DOtxoXh+ES lFkw== 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=b+y0oidb4dT3TvMHilSqW10m+USWCit26zvLqt452RI=; b=Q3tpzqMiuzfdpfZBKpFeZi9Cbt2gbYVOvOGkK+I4fGBAXC4P5ZPemDexcJ+03U7jcn iHPU6vP+UmomgnxjtgvvtiWYdL/5a9phEc9CbuzyoOS8hvUb+7orjnLty5VyNgoOTJIG tliI6ZjVqxBl8B/0GE3SASVj9slcXZyL+81xthqSd09cEFKhVFYcSdl0QZuXlw8SlDjE Xp8eJQwJAgkE2u1jmAXjOnzx00ObOEN2EaJ/YWdjdYif5+KgM/mc7ZS3RhGbIZVKxqK1 /7qI8piwTkgpVialOA2X5H2qA9c4cfRvktGcK4I3eWtbkTfLM6JxpQdX+g8UV+PPDHwk cqYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@verge.net.au header.s=mail header.b=IY3FU19e; 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 f18si10987272pgv.253.2019.03.19.05.51.31; Tue, 19 Mar 2019 05:51:46 -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=IY3FU19e; 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 S1727564AbfCSMtW (ORCPT + 99 others); Tue, 19 Mar 2019 08:49:22 -0400 Received: from kirsty.vergenet.net ([202.4.237.240]:47299 "EHLO kirsty.vergenet.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726002AbfCSMtW (ORCPT ); Tue, 19 Mar 2019 08:49:22 -0400 Received: from reginn.horms.nl (watermunt.horms.nl [80.127.179.77]) by kirsty.vergenet.net (Postfix) with ESMTPA id C93B825BEEF; Tue, 19 Mar 2019 23:49:19 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1552999760; bh=otzbqupo+XGLKWFKXNoCFxzgzz2jKW0UruQfZHR+V2o=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=IY3FU19eAdj/LzmPUGZPA/ckYTeYbK100qsL7fD7nv3ZpD6Wiktawk3Y+n1wlytn0 3RPW2fGEAvJMvUg1fvFxqG05FVdfGKQBrSfttIbRbastgsyhvCwLAX9HuGZNtcsOqx m5r3WYR2g0eavubroA4dBR2WFR2ZA83bBKPt5xDI= Received: by reginn.horms.nl (Postfix, from userid 7100) id 39123940663; Tue, 19 Mar 2019 13:49:18 +0100 (CET) Date: Tue, 19 Mar 2019 13:49:18 +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 , Dmitry Torokhov , linux-input@vger.kernel.org Subject: Re: [PATCH 2/6] input: da9063_onkey: remove platform_data support Message-ID: <20190319124917.sidcf742iml2jzam@verge.net.au> References: <20190318154759.21978-1-wsa+renesas@sang-engineering.com> <20190318154759.21978-3-wsa+renesas@sang-engineering.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190318154759.21978-3-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:54PM +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/input/misc/da9063_onkey.c | 11 ++--------- > 1 file changed, 2 insertions(+), 9 deletions(-) > > diff --git a/drivers/input/misc/da9063_onkey.c b/drivers/input/misc/da9063_onkey.c > index 3e9c353d82ef..e3a273c74123 100644 > --- a/drivers/input/misc/da9063_onkey.c > +++ b/drivers/input/misc/da9063_onkey.c > @@ -22,7 +22,6 @@ > #include > #include > #include > -#include > #include > #include > #include > @@ -201,8 +200,6 @@ static void da9063_cancel_poll(void *data) > > static int da9063_onkey_probe(struct platform_device *pdev) > { > - struct da9063 *da9063 = dev_get_drvdata(pdev->dev.parent); > - struct da9063_pdata *pdata = dev_get_platdata(da9063->dev); > struct da9063_onkey *onkey; > const struct of_device_id *match; > int irq; > @@ -229,12 +226,8 @@ static int da9063_onkey_probe(struct platform_device *pdev) > return -ENXIO; > } > > - if (pdata) > - onkey->key_power = pdata->key_power; > - else > - onkey->key_power = > - !of_property_read_bool(pdev->dev.of_node, > - "dlg,disable-key-power"); > + onkey->key_power = !of_property_read_bool(pdev->dev.of_node, > + "dlg,disable-key-power"); > > onkey->input = devm_input_allocate_device(&pdev->dev); > if (!onkey->input) { > -- > 2.11.0 >