diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2019-09-20 18:31:44 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-10-14 12:52:10 +0200 |
commit | 003737566584dc1bed4ddfcde17c9d59e58073c1 (patch) | |
tree | 825e861a4692fcf3ed8caa4dbe1d4286964d5fe5 /drivers | |
parent | f72e885285976ae9e320706595511b8861f68b5b (diff) | |
download | barebox-003737566584dc1bed4ddfcde17c9d59e58073c1.tar.gz |
regmap: align documentation in comment with code
dev_get_regmap has some copy-paste left-over in the comment.
Rectify this.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/base/regmap/regmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/base/regmap/regmap.c b/drivers/base/regmap/regmap.c index d2f8ec70e4..dc7b4f276f 100644 --- a/drivers/base/regmap/regmap.c +++ b/drivers/base/regmap/regmap.c @@ -65,7 +65,7 @@ struct regmap *regmap_init(struct device_d *dev, } /* - * regmap_init - initialize and register a regmap + * dev_get_regmap - get a regmap from a device * * @dev: The device the maps is attached to * @name: Optional name for the map. If given it must match. @@ -406,4 +406,4 @@ void regmap_exit(struct regmap *map) } free(map); -}
\ No newline at end of file +} |