diff options
author | Zhu Wang <wangzhu9@huawei.com> | 2023-08-03 16:29:00 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-08-04 11:10:33 +0100 |
commit | 86b7e033d684a9d4ca20ad8e6f8b9300cf99668f (patch) | |
tree | c870fde83aa110c14c0a201be12a93ff7178a46a /Documentation/netlink/genetlink.yaml | |
parent | 7740bb882fdea16b2f3a4d3804827b910f44206c (diff) |
net: lan966x: Do not check 0 for platform_get_irq_byname()
Since platform_get_irq_byname() never returned zero, so it need not to
check whether it returned zero, it returned -EINVAL or -ENXIO when
failed, so we replace the return error code with the result it returned.
Signed-off-by: Zhu Wang <wangzhu9@huawei.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Reviewed-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/netlink/genetlink.yaml')
0 files changed, 0 insertions, 0 deletions