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

Commit 89f69615 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "spmi: spmi-pmic-arb-debug: Change the probe init order"

parents 00648f41 b3fb1e5a
Loading
Loading
Loading
Loading
+2 −12
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-only
/* Copyright (c) 2012-2017, The Linux Foundation. All rights reserved. */
/* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved. */

#include <linux/delay.h>
#include <linux/err.h>
@@ -328,17 +328,7 @@ static struct platform_driver spmi_pmic_arb_debug_driver = {
	},
};

int __init spmi_pmic_arb_debug_init(void)
{
	return platform_driver_register(&spmi_pmic_arb_debug_driver);
}
arch_initcall(spmi_pmic_arb_debug_init);

static void __exit spmi_pmic_arb_debug_exit(void)
{
	platform_driver_unregister(&spmi_pmic_arb_debug_driver);
}
module_exit(spmi_pmic_arb_debug_exit);
module_platform_driver(spmi_pmic_arb_debug_driver);

MODULE_LICENSE("GPL v2");
MODULE_ALIAS("platform:spmi_pmic_arb_debug");