]> git.baikalelectronics.ru Git - kernel.git/commit
regmap: merge regmap_update_bits_check_async() into macro
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 15 Feb 2016 05:23:37 +0000 (05:23 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 19 Feb 2016 16:15:56 +0000 (01:15 +0900)
commitb58b67121ffebb90a6eadcb3b0c17d6d442d9735
tree68e7f922970dd217b53a40f6ac109672583f87b0
parent529f8d9062f877c5f6e798d489b3aa7a99cb0a20
regmap: merge regmap_update_bits_check_async() into macro

Current regmap has many similar update functions like below,
but the difference is very few.
regmap_update_bits()
regmap_update_bits_async()
regmap_update_bits_check()
regmap_update_bits_check_async()
Furthermore, we can add *force* write option too in the future.

This patch merges regmap_update_bits_check_async() into macro
by using regmap_update_bits_base().

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/base/regmap/regmap.c
include/linux/regmap.h