Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3501627ybl; Sun, 12 Jan 2020 19:55:35 -0800 (PST) X-Google-Smtp-Source: APXvYqxC8cg51nw1Bz1KL6f5HaUPJv5hEoa55YvHtPZodQg9g+7bbnfR+QxxZoUpF3NKuJZctHVC X-Received: by 2002:a05:6830:1b7b:: with SMTP id d27mr12344570ote.78.1578887735016; Sun, 12 Jan 2020 19:55:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578887735; cv=none; d=google.com; s=arc-20160816; b=b5hM5ryPfg+pUAC4M6FxedfS4joWoaddAvOPKe2y88Ohah0FwsRJQESZTrGv+ZyO4j 1/Ryaj1zoG+y5mIVLjD7OvKXoVFM1zPcFpfDdWNyuQHntSc+vtF+Wy4yro8mM1/MmIaz tmOh8JkCvYpEaGgs8eIqvJsIFfebm+Q+BFO1bfni8q4dsQxwOLziu0nsUNLWgk2zfyHH B+xA1Nb/rACeQWKeqD2wJoby2GZy+mP55qgqlFON9d9N41NFFjoItUd1mfhvjlwcGrt2 LJTLzmmTwS90i5lp1e692Qel63dRxYuNj6SEGlhsnkw+2XxfQWZExjlNk3YQwpAA0TAI JSoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature; bh=E2VT4smkLJvvLCTwbrl0b23jYPIrIWVYMPPD7+wh59A=; b=gyIpiBbxSbAZ8X0Iw1M9oxtv+VVovI3NR7u+RZTaqYMB/ZRjMJq/KTkwvLEl6bfWHx TvaeXNPkJ7Rd2Jwyz/RWi6ViUEtM1C/a8MZ/EQHNST5hmsHr3sQ3Rt/UibZY5w8P/nW0 ulqfR+VSIwMA9DUS2ou4/iG+CTYEFFkKqcRgTHwdWJxX3zp150GnAl/bCQHUTlsdCw66 YJOFFQJi+1hWb+3GKd/AwY6c6XxuUktJiKTtMu/PUbmGxBPOXZ4P72D0n2OAYl+0ExYq dfua+NFcjqXgNxORJsGIbm4yfPiwDnaUqj2peLM71xN716DIiUzsSBQMcAyDXcfW5wO9 0Dug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sholland.org header.s=fm1 header.b=kMs79o+6; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=dnffBIbP; 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 t28si6095705otr.16.2020.01.12.19.55.23; Sun, 12 Jan 2020 19:55: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; dkim=pass header.i=@sholland.org header.s=fm1 header.b=kMs79o+6; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=dnffBIbP; 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 S2387624AbgAMDx1 (ORCPT + 99 others); Sun, 12 Jan 2020 22:53:27 -0500 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:32957 "EHLO out2-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387529AbgAMDxO (ORCPT ); Sun, 12 Jan 2020 22:53:14 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 5773E21D51; Sun, 12 Jan 2020 22:53:13 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Sun, 12 Jan 2020 22:53:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm1; bh=E2VT4smkLJvvL CTwbrl0b23jYPIrIWVYMPPD7+wh59A=; b=kMs79o+6MQIjrnW9pDnxCGXZbMSrr XYKsZ9h0xYdLDWZFuYK0n0dxrpr/fp326t1giOnFF8lHYjDrflM2OXQFYDYuXjzk midQqRo0+93Z+ZddqpZzA6XtK8xCeax56njs33OP6VuDsyUwpgcfIC98xSYX1vsU 0eTIxTxY8JSz6fr9irxbfYiiO3C2AXTD9fG8DezvTokrWAwNfpqqyHvtFoMkJyRq iOIV4fo70E8iI/MntOvcGZTk7OCujXYtRAVTMvBykMUCBdbzbnngD0t0pe4gNusf niBBpBHQjpEJwCGErXcGpvo/j3T3PWpf15I5sqcNWN3kOKWzcpBY2Ln/A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=E2VT4smkLJvvLCTwbrl0b23jYPIrIWVYMPPD7+wh59A=; b=dnffBIbP uCLkgC/29lF41SmCLvSpSICSfStfRVjtjOYMckW9zVwy+QquTB4T/YgKUeSGAUTC WgR/2ohIMj2rwyN522llAxRx0SsIUuT7D55AKMbDn/KQx5/w9TGt1RqOXVR8W7vT Xx+oVBncD6DfM29FlFjELiGXSLwq3WeIwn17CQd2SoDTtOvwP+bV1srxXP2xRG/a 9mUnJuH+94EPqP6/V/MQ3ug1H9+XEmwK/LUrXdwgFcwVLrhA2rhnjq5+Nj/PdxLa f8WkLxiHJSKjBnxa43X+Mb8Pzawj0wRelBWPhtFunZndGDb38YEJHV/L3lbfmmA4 RaQX7ecvGjwlvg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrvdeiledgieeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefurghmuhgv lhcujfholhhlrghnugcuoehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhgqeenucfkph epjedtrddufeehrddugeekrdduhedunecurfgrrhgrmhepmhgrihhlfhhrohhmpehsrghm uhgvlhesshhhohhllhgrnhgurdhorhhgnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from titanium.stl.sholland.net (70-135-148-151.lightspeed.stlsmo.sbcglobal.net [70.135.148.151]) by mail.messagingengine.com (Postfix) with ESMTPA id D66528005B; Sun, 12 Jan 2020 22:53:12 -0500 (EST) From: Samuel Holland To: Chen-Yu Tsai , Sebastian Reichel , Oskari Lemmela Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, Samuel Holland Subject: [PATCH v3 4/8] power: supply: axp20x_usb_power: Remove unused device_node Date: Sun, 12 Jan 2020 21:53:06 -0600 Message-Id: <20200113035310.18950-5-samuel@sholland.org> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20200113035310.18950-1-samuel@sholland.org> References: <20200113035310.18950-1-samuel@sholland.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This member of struct axp20x_usb_power is not used anywhere. Remove it. Reviewed-by: Chen-Yu Tsai Signed-off-by: Samuel Holland --- drivers/power/supply/axp20x_usb_power.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/power/supply/axp20x_usb_power.c b/drivers/power/supply/axp20x_usb_power.c index dc4c316eff81..2573de2a0adc 100644 --- a/drivers/power/supply/axp20x_usb_power.c +++ b/drivers/power/supply/axp20x_usb_power.c @@ -55,7 +55,6 @@ #define DEBOUNCE_TIME msecs_to_jiffies(50) struct axp20x_usb_power { - struct device_node *np; struct regmap *regmap; struct power_supply *supply; enum axp20x_variants axp20x_id; @@ -463,7 +462,6 @@ static int axp20x_usb_power_probe(struct platform_device *pdev) power->axp20x_id = (enum axp20x_variants)of_device_get_match_data( &pdev->dev); - power->np = pdev->dev.of_node; power->regmap = axp20x->regmap; if (power->axp20x_id == AXP202_ID) { -- 2.23.0