diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2020-04-13 09:51:47 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2020-04-15 11:22:26 +0200 |
commit | bd19b37061916ed7b3adfed4ce09b2c4c4c7b2f7 (patch) | |
tree | f0fc9ae210279772b38fc0ab7ee27b15f30f5bc6 /include/regmap.h | |
parent | e7048cdc6a46a8b824438a941a74d83a9a5fa3cf (diff) | |
download | barebox-bd19b37061916ed7b3adfed4ce09b2c4c4c7b2f7.tar.gz barebox-bd19b37061916ed7b3adfed4ce09b2c4c4c7b2f7.tar.xz |
regmap: retire of_node_to_regmap in favor of device_node_to_regmap
device_node_to_regmap is the current upstream API for this and is more
general, because it allocates a regmap on demand if none exists.
As of_node_to_regmap is unused anywhere, remove it.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/regmap.h')
-rw-r--r-- | include/regmap.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/regmap.h b/include/regmap.h index 3bcd9fe038..53f8d0d6e7 100644 --- a/include/regmap.h +++ b/include/regmap.h @@ -98,7 +98,6 @@ void regmap_mmio_detach_clk(struct regmap *map); void regmap_exit(struct regmap *map); struct regmap *dev_get_regmap(struct device_d *dev, const char *name); -struct regmap *of_node_to_regmap(struct device_node *node); int regmap_register_cdev(struct regmap *map, const char *name); |