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

Commit d73c0e4b authored by Prateek Sood's avatar Prateek Sood Committed by Gerrit - the friendly Code Review server
Browse files

qcom: qpnp-fg-gen4: Continue fg_gen4_probe() when !DEBUG_FS



fg_gen4_probe() should not be dependent on DEBUG_FS
API's returning success. Continue device probe,
when DEBUG_FS is disabled.

Change-Id: Ibb01e00d4f6cc7982701e8dd2ac2cd51148a9aea
Signed-off-by: default avatarPrateek Sood <prsood@codeaurora.org>
parent b7e861db
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
@@ -6373,12 +6373,7 @@ static int fg_gen4_probe(struct platform_device *pdev)
	/* Keep MEM_ATTN_IRQ disabled until we require it */
	vote(chip->mem_attn_irq_en_votable, MEM_ATTN_IRQ_VOTER, false, 0);

	rc = fg_debugfs_create(fg);
	if (rc < 0) {
		dev_err(fg->dev, "Error in creating debugfs entries, rc:%d\n",
			rc);
		goto exit;
	}
	fg_debugfs_create(fg);

	rc = sysfs_create_groups(&fg->dev->kobj, fg_groups);
	if (rc < 0) {