mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-29 07:04:10 +08:00
irqchip/qcom: Use builtin_platform_driver to simplify the code
Use the builtin_platform_driver() macro to make the code simpler. Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
This commit is contained in:
parent
f48e699ddf
commit
a162836622
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user