summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>2016-09-15 10:32:03 +0200
committerKlaus Goger <klaus.goger@theobroma-systems.com>2016-09-18 15:53:10 +0200
commit345b19bca4b1c336f61f17b9aa6a180d934b299f (patch)
treec1e66932a65d6f7f786a207bdf2d3034de7025c3 /init
parentba3f252e886e35989d18686ee589e9f57c3392df (diff)
mfd: axp20x: Provide interface for add-on drivers
Add-on drivers (e.g. hwmon) utilising a AXP20x, AXP22x or AXP80x need access to the regmap provided by the device, but no interface for retrieving the device/interface exists. This adds a new function axp20x_node_to_regmap(), modelled after the similar syscon_node_to_regmap(), to gain access to the regmap for a AXP-node with a fully loaded driver. Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions