summaryrefslogtreecommitdiff
path: root/samples/bpf/tcp_iw_kern.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzk@kernel.org>2020-09-02 20:46:14 +0300
committerMarc Zyngier <maz@kernel.org>2020-09-13 19:38:37 +0300
commitea6c25e6057c0b7c18337696be84b8f9751f19ec (patch)
tree2043fb055b101e2ba042b1556783b2dcedac5546 /samples/bpf/tcp_iw_kern.c
parentf4d51dffc6c01a9e94650d95ce0104964f8ae822 (diff)
downloadlinux-ea6c25e6057c0b7c18337696be84b8f9751f19ec.tar.xz
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 <krzk@kernel.org> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20200902174615.24695-1-krzk@kernel.org
Diffstat (limited to 'samples/bpf/tcp_iw_kern.c')
0 files changed, 0 insertions, 0 deletions