staging: most: dim2: use if statements instead of ?: expressions
authorNikita Yushchenko <nikita.yoush@cogentembedded.com>
Mon, 27 Sep 2021 16:06:49 +0000 (19:06 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Sep 2021 07:11:26 +0000 (09:11 +0200)
commitbd46a1f12c0bdae950a7968a22815291e3c435fe
tree2c6dfe438e25cb5286bc84a2b88c9cbb63455ce1
parent9b27a62d11be1afbccbefddaad39761c8212fd92
staging: most: dim2: use if statements instead of ?: expressions

For better maintainability, replace conditional expressions with if
statements in the drivers' probe routine.

Signed-off-by: Nikita Yushchenko <nikita.yoush@cogentembedded.com>
Link: https://lore.kernel.org/r/20210927160649.29209-1-nikita.yoush@cogentembedded.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/dim2/dim2.c