未验证 提交 81e30b18 编写于 作者: B Bartosz Golaszewski 提交者: Mark Brown

regmap: rename regmap_lock_unlock_empty() to regmap_lock_unlock_none()

Minor naming convention tweak.
Suggested-by: NAndy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: NBartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: NMark Brown <broonie@kernel.org>
上级 c9b41fcf
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册