]> git.baikalelectronics.ru Git - kernel.git/commit
regmap: add helper for per-port regfield initialization
authorVladimir Oltean <vladimir.oltean@nxp.com>
Wed, 27 May 2020 23:41:03 +0000 (02:41 +0300)
committerMark Brown <broonie@kernel.org>
Fri, 29 May 2020 12:44:30 +0000 (13:44 +0100)
commit6055a7b7b679b3c204bdb4011eb0af81d7b7ce39
treebe7a5a5b6b60eca31951e9d62369eddc665b6287
parent9b8057e7f937f20763a90a8fc2333168af101732
regmap: add helper for per-port regfield initialization

Similar to the standalone regfields, add an initializer for the users
who need to set .id_size and .id_offset in order to use the
regmap_fields_update_bits_base API.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Link: https://lore.kernel.org/r/20200527234113.2491988-2-olteanv@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/linux/regmap.h