diff options
author | Ruan Jinjie <ruanjinjie@huawei.com> | 2023-08-03 12:03:59 +0800 |
---|---|---|
committer | Steven Price <steven.price@arm.com> | 2023-08-21 15:11:27 +0100 |
commit | d7a407bc9ba30628eb699170e21d50c701c0e872 (patch) | |
tree | a51a269d2359beed305b57277ba00acae5e937b2 /samples/kfifo | |
parent | ad1367f831f8743746a1f49705c28e36a7c95525 (diff) | |
download | linux-stable-d7a407bc9ba30628eb699170e21d50c701c0e872.tar.gz linux-stable-d7a407bc9ba30628eb699170e21d50c701c0e872.tar.bz2 linux-stable-d7a407bc9ba30628eb699170e21d50c701c0e872.zip |
drm/panfrost: Do not check for 0 return after calling platform_get_irq_byname()
It is not possible for platform_get_irq_byname() to return 0.
Use the return value from platform_get_irq_byname().
Signed-off-by: Ruan Jinjie <ruanjinjie@huawei.com>
Reviewed-by: Steven Price <steven.price@arm.com>
Signed-off-by: Steven Price <steven.price@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230803040401.3067484-2-ruanjinjie@huawei.com
Diffstat (limited to 'samples/kfifo')
0 files changed, 0 insertions, 0 deletions