projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f48e699
)
irqchip/qcom: Use builtin_platform_driver to simplify the code
author
Wei Yongjun
<weiyongjun1@huawei.com>
Tue, 25 Apr 2017 16:12:23 +0000
(16:12 +0000)
committer
Marc Zyngier
<marc.zyngier@arm.com>
Thu, 22 Jun 2017 13:15:00 +0000
(14:15 +0100)
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>
drivers/irqchip/qcom-irq-combiner.c
patch
|
blob
|
history
diff --git
a/drivers/irqchip/qcom-irq-combiner.c
b/drivers/irqchip/qcom-irq-combiner.c
index 22655869834435900773448735d3b1403aca4b66..6aa3ea4792148d057b9b5d766acd0a7dd5813979 100644
(file)
--- a/
drivers/irqchip/qcom-irq-combiner.c
+++ b/
drivers/irqchip/qcom-irq-combiner.c
@@
-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);