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

Commit 4895a582 authored by Maulik Shah's avatar Maulik Shah Committed by Gerrit - the friendly Code Review server
Browse files

drivers: cpuidle: lpm-levels: Update failure print



Remove unused goto statement and update failure print.

Change-Id: Ie85dc1c5f42c6434961bc3787c09012c406b3f75
Signed-off-by: default avatarMaulik Shah <mkshah@codeaurora.org>
parent fab7895c
Loading
Loading
Loading
Loading
+3 −5
Original line number Diff line number Diff line
@@ -1753,12 +1753,10 @@ static int __init lpm_levels_module_init(void)
#endif

	rc = platform_driver_register(&lpm_driver);
	if (rc) {
		pr_info("Error registering %s\n", lpm_driver.driver.name);
		goto fail;
	}
	if (rc)
		pr_info("Error registering %s rc=%d\n", lpm_driver.driver.name,
									rc);

fail:
	return rc;
}
late_initcall(lpm_levels_module_init);