summaryrefslogtreecommitdiffstats
path: root/drivers/base/regmap/regmap-ac97.c
diff options
context:
space:
mode:
authorNicolas Boichat <drinkcat@chromium.org>2015-08-11 18:04:21 +0800
committerMark Brown <broonie@kernel.org>2015-08-11 17:21:44 +0100
commit1ed8111443ae8caa455e7107031da36d1a6d351a (patch)
treec1e2d17a8ca32b9b66ff8f5056fe133295eeb40f /drivers/base/regmap/regmap-ac97.c
parent3cfe7a74d42b7e3644f8b2b26aa20146d4f90f0f (diff)
downloadlinux-1ed8111443ae8caa455e7107031da36d1a6d351a.tar.gz
linux-1ed8111443ae8caa455e7107031da36d1a6d351a.tar.bz2
linux-1ed8111443ae8caa455e7107031da36d1a6d351a.zip
regmap: Move documentation to regmap.h
Init functions defined in regmap*.c files are now prefixed with __, take lockdep key and class parameters, and should not be called directly: move the documentation to regmap.h, where the macros are defined. Signed-off-by: Nicolas Boichat <drinkcat@chromium.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/base/regmap/regmap-ac97.c')
-rw-r--r--drivers/base/regmap/regmap-ac97.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/drivers/base/regmap/regmap-ac97.c b/drivers/base/regmap/regmap-ac97.c
index aa631be8b821..c03ebfd4c731 100644
--- a/drivers/base/regmap/regmap-ac97.c
+++ b/drivers/base/regmap/regmap-ac97.c
@@ -78,15 +78,6 @@ static const struct regmap_bus ac97_regmap_bus = {
.reg_read = regmap_ac97_reg_read,
};
-/**
- * regmap_init_ac97(): Initialise AC'97 register map
- *
- * @ac97: Device that will be interacted with
- * @config: Configuration for register map
- *
- * The return value will be an ERR_PTR() on error or a valid pointer to
- * a struct regmap.
- */
struct regmap *__regmap_init_ac97(struct snd_ac97 *ac97,
const struct regmap_config *config,
struct lock_class_key *lock_key,
@@ -97,16 +88,6 @@ struct regmap *__regmap_init_ac97(struct snd_ac97 *ac97,
}
EXPORT_SYMBOL_GPL(__regmap_init_ac97);
-/**
- * devm_regmap_init_ac97(): Initialise AC'97 register map
- *
- * @ac97: Device that will be interacted with
- * @config: Configuration for register map
- *
- * The return value will be an ERR_PTR() on error or a valid pointer
- * to a struct regmap. The regmap will be automatically freed by the
- * device management code.
- */
struct regmap *__devm_regmap_init_ac97(struct snd_ac97 *ac97,
const struct regmap_config *config,
struct lock_class_key *lock_key,