diff options
author | Paul Burton <paul.burton@imgtec.com> | 2017-08-12 21:36:40 -0700 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2017-09-04 13:53:14 +0200 |
commit | fbea754123ae5d9678295398c98e91f1b2159e5b (patch) | |
tree | 00b316718181161fa4d33de7c59b5480f4a3e620 /sound/soc | |
parent | 1fad12cd5ef43755d028f760fa089c87f5533451 (diff) | |
download | linux-fbea754123ae5d9678295398c98e91f1b2159e5b.tar.bz2 |
irqchip: mips-gic: Inline __gic_init()
The __gic_init() function is only called from gic_of_init() now that the
non-DT path has been removed. In order to simplify the code & aid
readability, fold __gic_init() into gic_of_init().
This provides us with the ability to return an error code, which
__gic_init() was previously unable to do. As such the irq_domain_add_*()
error paths are modified to print & return an error rather than panic().
[ralf@linux-mips.org: Resoled reject.]
Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/17050/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'sound/soc')
0 files changed, 0 insertions, 0 deletions