Commit 81e30b18 authored by Bartosz Golaszewski's avatar Bartosz Golaszewski Committed by Mark Brown

regmap: rename regmap_lock_unlock_empty() to regmap_lock_unlock_none()

Minor naming convention tweak.
Suggested-by: default avatarAndy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: default avatarBartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent c9b41fcf
...@@ -459,7 +459,7 @@ static void regmap_unlock_hwlock_irqrestore(void *__map) ...@@ -459,7 +459,7 @@ static void regmap_unlock_hwlock_irqrestore(void *__map)
} }
#endif #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, ...@@ -675,7 +675,7 @@ struct regmap *__regmap_init(struct device *dev,
} }
if (config->disable_locking) { 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) { } else if (config->lock && config->unlock) {
map->lock = config->lock; map->lock = config->lock;
map->unlock = config->unlock; map->unlock = config->unlock;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment