Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 027c0505 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "power: smb135x-charger: remove unused match node"

parents 4d3fd87b ab4d2b88
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
@@ -2902,7 +2902,6 @@ static int smb_parse_dt(struct smb135x_chg *chip)
{
	int rc;
	struct device_node *node = chip->dev->of_node;
	const struct of_device_id *match;
	const char *dc_psy_type;

	if (!node) {
@@ -2910,14 +2909,6 @@ static int smb_parse_dt(struct smb135x_chg *chip)
		return -EINVAL;
	}

	match = of_match_node(smb135x_match_table, node);
	if (match == NULL) {
		dev_err(chip->dev, "device tree match not found\n");
		return -EINVAL;
	}

	chip->usb_current_arr_size = (int)match->data;

	rc = of_property_read_u32(node, "qcom,float-voltage-mv",
						&chip->vfloat_mv);
	if (rc < 0)