mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-06 10:57:46 +00:00
regmap: rename regmap_lock_unlock_empty() to regmap_lock_unlock_none()
Minor naming convention tweak. Suggested-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
c9b41fcf27
commit
81e30b189f
1 changed files with 2 additions and 2 deletions
|
@ -459,7 +459,7 @@ static void regmap_unlock_hwlock_irqrestore(void *__map)
|
|||
}
|
||||
#endif
|
||||
|
||||
static void regmap_lock_unlock_empty(void *__map)
|
||||
static void regmap_lock_unlock_none(void *__map)
|
||||
{
|
||||
|
||||
}
|
||||
|
@ -675,7 +675,7 @@ struct regmap *__regmap_init(struct device *dev,
|
|||
}
|
||||
|
||||
if (config->disable_locking) {
|
||||
map->lock = map->unlock = regmap_lock_unlock_empty;
|
||||
map->lock = map->unlock = regmap_lock_unlock_none;
|
||||
} else if (config->lock && config->unlock) {
|
||||
map->lock = config->lock;
|
||||
map->unlock = config->unlock;
|
||||
|
|
Loading…
Reference in a new issue