regmap: Implement regmap_multi_reg_read()
authorMark Brown <broonie@kernel.org>
Wed, 10 Jul 2024 22:05:45 +0000 (23:05 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 10 Jul 2024 22:05:45 +0000 (23:05 +0100)
commit450a60ef607900bb9affb0e822fea9726679c512
tree5ec688eeae9b1d713ef3028df03bc9e155d171dd
parentf21711bbdbf0d95a389bfaad54ce444b46830d58
parent3c1ff93b4deea502cd8b0869839557cab2a28b71
regmap: Implement regmap_multi_reg_read()

Merge series from Guenter Roeck <linux@roeck-us.net>:

regmap_multi_reg_read() is similar to regmap_bilk_read() but reads from
an array of non-sequential registers. It is helpful if multiple non-
sequential registers need to be read in a single operation which would
otherwise have to be mutex protected.

The name of the new function was chosen to match the existing function
regmap_multi_reg_write().
drivers/base/regmap/regmap.c
include/linux/regmap.h