soc: mediatek: pwrap: fix compiler errors
authorMatthias Brugger <matthias.bgg@gmail.com>
Sat, 21 Oct 2017 08:17:47 +0000 (10:17 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Dec 2017 09:07:32 +0000 (10:07 +0100)
commit421910e924b63f2ccd4d433c77c5cd88063546ba
tree8467dceab7a9b66065ed000da47107f60cd24d82
parent7745382fe86ce5354dc459948c086d3b5778fb9d
soc: mediatek: pwrap: fix compiler errors

[ Upstream commit fb2c1934f30577756e55e24e8870b45c78da3bc2 ]

When compiling using sparse, we got the following error:
drivers/soc/mediatek/mtk-pmic-wrap.c:686:25: error: dubious one-bit signed bitfield

Changing the data type to unsigned fixes this.

Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/soc/mediatek/mtk-pmic-wrap.c