diff options
author | Samuel Holland <samuel@sholland.org> | 2020-01-13 04:53:06 +0100 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2020-01-14 01:00:42 +0100 |
commit | f95526333abf6f486cda63abb38d0c1f99d9535a (patch) | |
tree | 191fe24e7f990bb94e862bd2f312ddcd4ed06501 /drivers/power/supply/axp20x_usb_power.c | |
parent | power: supply: axp20x_ac_power: Add wakeup control (diff) | |
download | linux-f95526333abf6f486cda63abb38d0c1f99d9535a.tar.xz linux-f95526333abf6f486cda63abb38d0c1f99d9535a.zip |
power: supply: axp20x_usb_power: Remove unused device_node
This member of struct axp20x_usb_power is not used anywhere.
Remove it.
Reviewed-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Samuel Holland <samuel@sholland.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers/power/supply/axp20x_usb_power.c')
-rw-r--r-- | drivers/power/supply/axp20x_usb_power.c | 2 |
1 files changed, 0 insertions, 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) { |