gpiolib: cdev: improve documentation of get/set values
authorKent Gibson <warthog618@gmail.com>
Tue, 19 Dec 2023 00:41:58 +0000 (08:41 +0800)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Tue, 19 Dec 2023 09:18:49 +0000 (10:18 +0100)
commit193b6b0902bf57ff13bbadaa037a288c73c9d126
treedbb83461a355cb736e78c363bd320e47ef8562a8
parent0ebeaab4d59eb373e17ffbc50d8c4e9665418cbe
gpiolib: cdev: improve documentation of get/set values

Add documentation of the algorithm used to perform scatter/gather
of the requested lines and values in linereq_get_values() and
linereq_set_values_unlocked() to improve maintainability.

Signed-off-by: Kent Gibson <warthog618@gmail.com>
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/gpiolib-cdev.c