From 003737566584dc1bed4ddfcde17c9d59e58073c1 Mon Sep 17 00:00:00 2001 From: Ahmad Fatoum Date: Fri, 20 Sep 2019 18:31:44 +0200 Subject: 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 Signed-off-by: Sascha Hauer --- drivers/base/regmap/regmap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'drivers/base/regmap') 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 +} -- cgit v1.2.3