Using mask is more flexible than bits.

Signed-off-by: Jacob Chen <jacob-c...@iotwrt.com>
Reviewed-by: Simon Glass <s...@chromium.org>
---

Changes in v2: None

 drivers/power/regulator/rk808.c | 39 ++++++++++++++++++++++-----------------
 1 file changed, 22 insertions(+), 17 deletions(-)

Applied to u-boot-rockchip/next, thanks!
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to