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

Commit a1628366 authored by Wei Yongjun's avatar Wei Yongjun Committed by Marc Zyngier
Browse files

irqchip/qcom: Use builtin_platform_driver to simplify the code



Use the builtin_platform_driver() macro to make the code simpler.

Signed-off-by: default avatarWei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: default avatarMarc Zyngier <marc.zyngier@arm.com>
parent f48e699d
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
@@ -288,9 +288,4 @@ static struct platform_driver qcom_irq_combiner_probe = {
	},
	.probe = combiner_probe,
};

static int __init register_qcom_irq_combiner(void)
{
	return platform_driver_register(&qcom_irq_combiner_probe);
}
device_initcall(register_qcom_irq_combiner);
builtin_platform_driver(qcom_irq_combiner_probe);