From: Samuel Holland <samuel@sholland.org>
To: Chen-Yu Tsai <wens@csie.org>, Sebastian Reichel <sre@kernel.org>
Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-sunxi@googlegroups.com,
Samuel Holland <samuel@sholland.org>
Subject: [PATCH 3/7] power: supply: axp20x_usb_power: Remove unused device_node
Date: Thu, 2 Jan 2020 00:36:29 -0600 [thread overview]
Message-ID: <20200102063633.65388-3-samuel@sholland.org> (raw)
In-Reply-To: <20200102063633.65388-1-samuel@sholland.org>
This member of struct axp20x_usb_power is not used anywhere.
Remove it.
Signed-off-by: Samuel Holland <samuel@sholland.org>
---
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 5f0a5722b19e..dd3f3f12e41d 100644
--- a/drivers/power/supply/axp20x_usb_power.c
+++ b/drivers/power/supply/axp20x_usb_power.c
@@ -57,7 +57,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;
@@ -465,7 +464,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
next prev parent reply other threads:[~2020-01-02 6:36 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-02 6:36 [PATCH 1/7] power: supply: axp20x_ac_power: Allow offlining Samuel Holland
2020-01-02 6:36 ` [PATCH 2/7] power: supply: axp20x_ac_power: Add wakeup control Samuel Holland
2020-01-02 6:36 ` Samuel Holland [this message]
2020-01-02 6:36 ` [PATCH 4/7] power: supply: axp20x_usb_power: Use a match structure Samuel Holland
2020-01-02 6:36 ` [PATCH 5/7] power: supply: axp20x_usb_power: Allow offlining Samuel Holland
2020-01-02 6:36 ` [PATCH 6/7] power: supply: axp20x_usb_power: Add wakeup control Samuel Holland
2020-01-02 6:36 ` [PATCH 7/7] power: supply: axp20x_usb_power: Only poll while offline Samuel Holland
2020-01-02 7:01 ` [PATCH 1/7] power: supply: axp20x_ac_power: Allow offlining Samuel Holland
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200102063633.65388-3-samuel@sholland.org \
--to=samuel@sholland.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=linux-sunxi@googlegroups.com \
--cc=sre@kernel.org \
--cc=wens@csie.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).