diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2023-04-15 12:42:55 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-04-20 14:15:06 +0200 |
commit | 39bbfdacaebbe2576fb0f591e218e76a117886cf (patch) | |
tree | 18053a194c47c891bcf721707e8d34a767bf6fc6 /drivers/dma/tegra186-gpc-dma.c | |
parent | w1: use octal for file permissions (diff) | |
download | linux-39bbfdacaebbe2576fb0f591e218e76a117886cf.tar.xz linux-39bbfdacaebbe2576fb0f591e218e76a117886cf.zip |
w1: ds2433: do not use assignment in if condition
Assignments in if condition are less readable and error-prone. Fixes
also checkpatch warning:
ERROR: do not use assignment in if condition
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230415104304.104134-7-krzysztof.kozlowski@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/dma/tegra186-gpc-dma.c')
0 files changed, 0 insertions, 0 deletions