soc: mediatek: pwrap: use true and false for boolean values
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Sun, 5 Aug 2018 01:02:01 +0000 (20:02 -0500)
committerMatthias Brugger <matthias.bgg@gmail.com>
Tue, 25 Sep 2018 14:35:47 +0000 (16:35 +0200)
commit2462080fe9417717a0594e082f50fce048d5a09b
tree1b7e875b311bbc142f279a4fec781e65d9b310ca
parent919049f6d44b7303794e6da7e3f6b91a41d2cf04
soc: mediatek: pwrap: use true and false for boolean values

Return statements in functions returning bool should use true or false
instead of an integer value.

This issue was detected with the help of Coccinelle.

Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Acked-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
drivers/soc/mediatek/mtk-pmic-wrap.c