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

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

Merge "regulator: correct name used in debug consumer regulator_get call"

parents 31131180 7ff3a4cc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4223,7 +4223,7 @@ static void rdev_init_debugfs(struct regulator_dev *rdev)
	debugfs_create_file("consumers", 0444, rdev->debugfs, rdev,
			    &reg_consumers_fops);

	reg = regulator_get(NULL, rdev->desc->name);
	reg = regulator_get(NULL, rdev_get_name(rdev));
	if (IS_ERR(reg) || reg == NULL) {
		pr_err("Error-Bad Function Input\n");
		goto error;