aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-05-16 08:07:24 -0400
committerWolfram Sang <wsa@the-dreams.de>2017-05-16 17:19:00 -0400
commit88ad60c23a394b2f8bf1e570c756f415435d1d35 (patch)
treeef8ea74c78a5d30e89f7d94ee4be8781831f683b /scripts/gcc-plugins/cyc_complexity_plugin.c
parentfc9d0cd9ca3f013663d79d9201d1df6c14f3ca10 (diff)
i2c: mv64xxx: don't override deferred probing when getting irq
There is no reason to use platform_get_irq() for non-DT probing and irq_of_parse_and_map() for DT probing. Indeed, platform_get_irq() works fine for both. In addition, using platform_get_irq() properly returns -EPROBE_DEFER when the interrupt controller is not yet available, so instead of inventing our own error code (-ENXIO), return the one provided by platform_get_irq(). Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions