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

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

Merge "power: reset: Skip emmc_dload sysfs entry creation"

parents 6beba371 354dd296
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -515,6 +515,7 @@ static int msm_restart_probe(struct platform_device *pdev)
				"qcom,msm-imem-dload-type");
	if (!np) {
		pr_err("unable to find DT imem dload-type node\n");
		goto skip_sysfs_create;
	} else {
		dload_type_addr = of_iomap(np, 0);
		if (!dload_type_addr) {
@@ -528,6 +529,7 @@ static int msm_restart_probe(struct platform_device *pdev)
	if (ret) {
		pr_err("%s:Error in creation kobject_add\n", __func__);
		kobject_put(&dload_kobj);
		goto skip_sysfs_create;
	}

	ret = sysfs_create_group(&dload_kobj, &reset_attr_group);