Skip to content
Commit 5be57099 authored by Saravana Kannan's avatar Saravana Kannan Committed by Marc Zyngier
Browse files

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: default avatarSaravana Kannan <saravanak@google.com>
Signed-off-by: default avatarMarc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20200718000637.3632841-3-saravanak@google.com
parent f8410e62
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment