Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Bartosz Golaszewski and committed by
Mark Brown
81e30b18 c9b41fcf

+2 -2
+2 -2
drivers/base/regmap/regmap.c
··· 459 459 } 460 460 #endif 461 461 462 - static void regmap_lock_unlock_empty(void *__map) 462 + static void regmap_lock_unlock_none(void *__map) 463 463 { 464 464 465 465 } ··· 675 675 } 676 676 677 677 if (config->disable_locking) { 678 - map->lock = map->unlock = regmap_lock_unlock_empty; 678 + map->lock = map->unlock = regmap_lock_unlock_none; 679 679 } else if (config->lock && config->unlock) { 680 680 map->lock = config->lock; 681 681 map->unlock = config->unlock;