diff options
author | Saravana Kannan <saravanak@google.com> | 2020-07-18 02:06:35 +0200 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2020-07-27 09:55:04 +0200 |
commit | 5be57099d44550d2c4cf44a86c44df87edb79a57 (patch) | |
tree | 00e22e38ffdde3a1da7076f2835cf5ab175fb117 /drivers/irqchip/irq-mvebu-icu.c | |
parent | irqchip: Add IRQCHIP_PLATFORM_DRIVER_BEGIN/END and IRQCHIP_MATCH helper macros (diff) | |
download | linux-5be57099d44550d2c4cf44a86c44df87edb79a57.tar.xz linux-5be57099d44550d2c4cf44a86c44df87edb79a57.zip |
irqchip/qcom-pdc: Switch to using IRQCHIP_PLATFORM_DRIVER helper macros
Switch the driver to use the helper macros. In addition to reducing the
number of lines, this also adds module unload protection (if the driver
is compiled as a module) by switching from module_platform_driver to
builtin_platform_driver.
Signed-off-by: Saravana Kannan <saravanak@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20200718000637.3632841-3-saravanak@google.com
Diffstat (limited to 'drivers/irqchip/irq-mvebu-icu.c')
0 files changed, 0 insertions, 0 deletions