ANDROID: irqchip: qcom-pdc: Re-apply work to convert to IRQCHIP helpers
This fixes a mangled merge from the 5.15-rc1 cycle. Fixes:bddc58eb1a("Merge7d6e3fa87e("Merge tag 'irq-core-2021-08-30' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip") into android-mainline") Signed-off-by: Lee Jones <lee.jones@linaro.org> Change-Id: I2ccfcf4509d3d29f63be2b67830e5bcb1a06569f
This commit is contained in:
@@ -415,28 +415,8 @@ fail:
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int qcom_pdc_probe(struct platform_device *pdev)
|
IRQCHIP_PLATFORM_DRIVER_BEGIN(qcom_pdc)
|
||||||
{
|
IRQCHIP_MATCH("qcom,pdc", qcom_pdc_init)
|
||||||
struct device_node *np = pdev->dev.of_node;
|
IRQCHIP_PLATFORM_DRIVER_END(qcom_pdc)
|
||||||
struct device_node *parent = of_irq_find_parent(np);
|
|
||||||
|
|
||||||
return qcom_pdc_init(np, parent);
|
|
||||||
}
|
|
||||||
|
|
||||||
static const struct of_device_id qcom_pdc_match_table[] = {
|
|
||||||
{ .compatible = "qcom,pdc" },
|
|
||||||
{}
|
|
||||||
};
|
|
||||||
MODULE_DEVICE_TABLE(of, qcom_pdc_match_table);
|
|
||||||
|
|
||||||
static struct platform_driver qcom_pdc_driver = {
|
|
||||||
.probe = qcom_pdc_probe,
|
|
||||||
.driver = {
|
|
||||||
.name = "qcom-pdc",
|
|
||||||
.of_match_table = qcom_pdc_match_table,
|
|
||||||
.suppress_bind_attrs = true,
|
|
||||||
},
|
|
||||||
};
|
|
||||||
module_platform_driver(qcom_pdc_driver);
|
|
||||||
MODULE_DESCRIPTION("Qualcomm Technologies, Inc. Power Domain Controller");
|
MODULE_DESCRIPTION("Qualcomm Technologies, Inc. Power Domain Controller");
|
||||||
MODULE_LICENSE("GPL v2");
|
MODULE_LICENSE("GPL v2");
|
||||||
|
|||||||
Reference in New Issue
Block a user