Re: [U-Boot] [PATCH v2] mx6ul_14x14_evk: Simplify the PMIC register writes

2019-02-14 Thread Peng Fan
> -Original Message- > From: Fabio Estevam [mailto:feste...@gmail.com] > Sent: 2019年2月14日 21:36 > To: sba...@denx.de > Cc: u-boot@lists.denx.de; Peng Fan ; Fabio Estevam > > Subject: [PATCH v2] mx6ul_14x14_evk: Simplify the PMIC register writes > > There is no need to store the values w

[U-Boot] [PATCH v2] mx6ul_14x14_evk: Simplify the PMIC register writes

2019-02-14 Thread Fabio Estevam
There is no need to store the values written to the PMIC inside the 'reg' variable. Make it simpler by writing the values directly. Signed-off-by: Fabio Estevam --- Changes since v1: - Remove 1/2 notation, since this is a standalome patch - Add Peng Fan on Cc board/freescale/mx6ul_14x14_evk/mx6