• Linus Torvalds's avatar
    Merge tag 'regulator-3.5' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator · ac180657
    Linus Torvalds authored
    Pull regulator updates from Mark Brown:
     "The major thing here is the addition of some helpers to factor code
      out of drivers, making a fair proportion of regulators much more just
      data rather than code which is nice.
    
      - Helpers in the core for regulators using regmap, providing generic
        implementations of the enable and voltage selection operations which
        just need data to describe them in the drivers.
      - Split out voltage mapping and voltage setting, allowing many more
        drivers to take advantage of the infrastructure for selectors.
      - Loads and loads of cleanups from Axel Lin once again, including many
        changes to take advantage of the above new framework features
      - New drivers for Ricoh RC5T583, TI TPS62362, TI TPS62363, TI
        TPS65913, TI TWL6035 and TI TWL6037.
    
      Some of the registration changes to support the core refactoring
      caused so many conflicts that eventually topic branches were abandoned
      for this release."
    
    * tag 'regulator-3.5' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator: (227 commits)
      regulator: tps65910: use of_node of matched regulator being register
      regulator: tps65910: dt: support when "regulators" node found
      regulator: tps65910: add error message in case of failure
      regulator: tps62360: dt: initialize of_node param for regulator register.
      regulator: tps65910: use devm_* for memory allocation
      regulator: tps65910: use small letter for regulator names
      mfd: tpx6586x:  Depend on regulator
      regulator: regulator for Palmas Kconfig
      regulator: regulator driver for Palmas series chips
      regulator: Enable Device Tree for the db8500-prcmu regulator driver
      regulator: db8500-prcmu: Separate regulator registration from probe
      regulator: ab3100: Use regulator_map_voltage_iterate()
      regulator: tps65217: Convert to set_voltage_sel and map_voltage
      regulator: Enable the ab8500 for Device Tree
      regulator: ab8500: Split up probe() into manageable pieces
      regulator: max8925: Remove check_range function and max_uV from struct rc5t583_regulator_info
      regulator: max8649: Remove unused check_range() function
      regulator: rc5t583: Remove max_uV from struct rc5t583_regulator_info
      regulator: da9052: Convert to set_voltage_sel and map_voltage
      regulator: max8952: Use devm_kzalloc
      ...
    ac180657
max8997.c 29.9 KB