[U-Boot] [PATCH 00/12] regulator: Change get_enable return type to integer from bool

Jaehoon Chung jh80.chung at samsung.com
Thu Jun 29 09:40:34 UTC 2017


On 06/13/2017 01:23 PM, Keerthy wrote:
> Change get_enable return type to int so errors can be returned.
> The series converts the return type of get_enable hook in the
> dm_regulator_ops to integer from bool. This enables it to
> return any error values if any.
> 
> Compile tested.

Applied to u-boot-mmc for pmic. Thanks!

Best Regards,
Jaehoon Chung

> 
> Keerthy (12):
>   regulator: Change get_enable return type to integer      from bool
>   power: regulator: fixed: get_enable should return integer
>   power: regulator: act8846: get_enable should return integer
>   power: regulator: max77686: get_enable should return integer
>   power: regulator: palmas: get_enable should return integer
>   power: regulator: pfuze100: get_enable should return integer
>   power: regulator: tps65090: get_enable should return integer
>   power: regulator: rk8xx: get_enable should return integer
>   power: sandbox: fixed: get_enable should return integer
>   power: regulator: s5m8767: get_enable should return integer
>   power: regulator: lp873x: get_enable should return integer
>   power: regulator: lp87565: get_enable should return integer
> 
>  drivers/power/regulator/act8846.c            | 2 +-
>  drivers/power/regulator/fixed.c              | 2 +-
>  drivers/power/regulator/lp873x_regulator.c   | 4 ++--
>  drivers/power/regulator/lp87565_regulator.c  | 2 +-
>  drivers/power/regulator/max77686.c           | 4 ++--
>  drivers/power/regulator/palmas_regulator.c   | 4 ++--
>  drivers/power/regulator/pfuze100.c           | 2 +-
>  drivers/power/regulator/regulator-uclass.c   | 2 +-
>  drivers/power/regulator/rk8xx.c              | 6 +++---
>  drivers/power/regulator/s5m8767.c            | 4 ++--
>  drivers/power/regulator/sandbox.c            | 4 ++--
>  drivers/power/regulator/tps65090_regulator.c | 2 +-
>  include/power/regulator.h                    | 8 ++++----
>  13 files changed, 23 insertions(+), 23 deletions(-)
> 



More information about the U-Boot mailing list