Tobias Nießen 321cab4b5e staging: rts5208: Simplify boolean expression to improve code style
This bitwisen / boolean expression can be made more readable while
reducing the line lengths at the same time. This commit uses the
fact that

    a & (b | c) == (b | c)

evaluates to true if and only if

    (a & b) && (a & c)

is true. Since b and c are constants with relatively long names,
using the second form makes the code much more readable and shorter.

Signed-off-by: Tobias Nießen <tobias.niessen@stud.uni-hannover.de>
Signed-off-by: Sabrina Gaube <sabrina-gaube@web.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-07-01 09:05:21 +02:00
..
2018-11-05 14:16:33 +01:00
2019-05-30 14:13:45 -07:00
2018-12-28 20:39:58 -08:00
2018-11-05 14:16:33 +01:00
2018-11-05 14:16:33 +01:00
2018-11-05 14:16:33 +01:00