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

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

Merge "msm: pm: Change the init level of pc debug counters"

parents e75a9044 67a0eddc
Loading
Loading
Loading
Loading
+16 −6
Original line number Diff line number Diff line
/* Copyright (c) 2010-2015, The Linux Foundation. All rights reserved.
/* Copyright (c) 2010-2016, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -857,15 +857,25 @@ static int __init msm_pm_drv_init(void)

	rc = platform_driver_register(&msm_cpu_pm_snoc_client_driver);

	if (rc) {
	if (rc)
		pr_err("%s(): failed to register driver %s\n", __func__,
				msm_cpu_pm_snoc_client_driver.driver.name);
	return rc;
}
late_initcall(msm_pm_drv_init);

static int __init msm_pm_debug_counters_init(void)
{
	int rc;

	return platform_driver_register(&msm_cpu_pm_driver);
	rc = platform_driver_register(&msm_cpu_pm_driver);

	if (rc)
		pr_err("%s(): failed to register driver %s\n", __func__,
				msm_cpu_pm_driver.driver.name);
	return rc;
}
late_initcall(msm_pm_drv_init);
fs_initcall(msm_pm_debug_counters_init);

int __init msm_pm_sleep_status_init(void)
{