]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
regulator: core: Allow drivers to pass in a regmap
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 15 Apr 2012 10:16:05 +0000 (11:16 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 16 Apr 2012 18:51:53 +0000 (19:51 +0100)
commit65b19ce6c223287ac95bbc22b12ef5a2738472d1
treea2cf084107796be58d1e3b3c02b1d8d3171ce8c6
parent9f29c9e30b98832d98e8f528252fe193123a7d80
regulator: core: Allow drivers to pass in a regmap

Since many regulators use regmap for register I/O and since there's quite
a few very common patterns in the code allow drivers to pass in a regmap
to the core for use in generic code.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@ti.com>
drivers/regulator/core.c
include/linux/regulator/driver.h