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

Keerthy j-keerthy at ti.com
Tue Jun 13 04:23:44 UTC 2017


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.

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(-)

-- 
1.9.1



More information about the U-Boot mailing list