summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/sh-pfc/pfc-r8a7791.c
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2014-08-17 16:18:19 +0200
committerMark Brown <broonie@linaro.org>2014-08-17 09:33:11 -0500
commitc8e6e960733f4a5835265c15429fced4d2f1595e (patch)
tree433e3239e7041fbe628ea77921e6dd223b94412a /drivers/pinctrl/sh-pfc/pfc-r8a7791.c
parent7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9 (diff)
ASoC: rcar: Use && instead of & for boolean expressions
Sparse spits out the following warning: sound/soc/sh/rcar/gen.c:250:21: warning: dubious: x & !y It does this because sometimes mixing boolean and bit-wise logic has not the intended result. In this case we are fine, but replacing the bit-wise '&' with the boolean '&&' silences the sparse warning. The generated code for both cases is the same. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/pinctrl/sh-pfc/pfc-r8a7791.c')
0 files changed, 0 insertions, 0 deletions