soc: mediatek: pwrap: fix compiler errors
authorMatthias Brugger <matthias.bgg@gmail.com>
Sat, 21 Oct 2017 08:17:47 +0000 (10:17 +0200)
committerMatthias Brugger <matthias.bgg@gmail.com>
Sat, 21 Oct 2017 08:17:47 +0000 (10:17 +0200)
commitfb2c1934f30577756e55e24e8870b45c78da3bc2
treec10617ef34e129839b67471c59bf0acf8ec5df7d
parent598f9b2ec479715decb8f6aea59a45459159c515
soc: mediatek: pwrap: fix compiler errors

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>
drivers/soc/mediatek/mtk-pmic-wrap.c