diff options
author | Krzysztof Kozlowski <[email protected]> | 2020-09-02 19:46:14 +0200 |
---|---|---|
committer | Marc Zyngier <[email protected]> | 2020-09-13 17:38:37 +0100 |
commit | ea6c25e6057c0b7c18337696be84b8f9751f19ec (patch) | |
tree | 2043fb055b101e2ba042b1556783b2dcedac5546 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | f4d51dffc6c01a9e94650d95ce0104964f8ae822 (diff) |
irqchip/ti-sci: Simplify with dev_err_probe()
Common pattern of handling deferred probe can be simplified with
dev_err_probe(). Less code and the error value gets printed.
There is also no need to assign NULL to 'intr->sci' as it is part of
devm-allocated memory.
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions