]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit142d02c3cbd4136a3648d8aac8acdac23533f107
tree1b7e875b311bbc142f279a4fec781e65d9b310ca
parent3c387e0ceda39669163714ffcd9d7f1e4b202681
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