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>
This commit is contained in:
Samuel Holland 2020-01-12 21:53:06 -06:00 committed by Sebastian Reichel
parent ca4c77bb43
commit f95526333a
1 changed files with 0 additions and 2 deletions

View File

@ -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) {