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
|
@ -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 New Issue