While attempting to try and get each of the regulator nodes of palmas
to be capable of using vin-supply, I noticed a few cleanups and
associated bug fixes.

The series is based on next-20160504 and is split up to aid
readability of the patch.

Tested on OMAP5-uevm and DRA7 platform.

Nishanth Menon (4):
  regulator: tps65917/palmas: Simplify multiple dereference of
    ddata->palmas_matches[idx]
  regulator: tps65917/palmas: Simplify multiple dereference of
    pdata->reg_init[idx]
  regulator: tps65917/palmas: Handle possible memory allocation failure
  regulator: tps65917/palmas: Simplify multiple dereference of
    match->of_node

 drivers/regulator/palmas-regulator.c | 62 +++++++++++++++++++-----------------
 1 file changed, 33 insertions(+), 29 deletions(-)

-- 
2.8.0

Reply via email to