commit | e680a4098f6404191e0e438a9758715b0bff6d7f | [log] [tgz] |
---|---|---|
author | Bartosz Golaszewski <bgolaszewski@baylibre.com> | Sun Jun 07 11:34:21 2020 +0200 |
committer | Mark Brown <broonie@kernel.org> | Mon Jun 08 13:21:07 2020 +0100 |
tree | d5cfd8574e1b0d0ffaa02956e6db0405acc3efaa | |
parent | 53d860952c8215cf9ae1ea33409c8cb71ad6ad3d [diff] |
regmap: fix the kerneldoc for regmap_test_bits() The kerneldoc comment for regmap_test_bits() says that it returns -1 on regmap_read() failure. This is not true - it will propagate the error code returned by regmap_read(). Fix it. Fixes: aa2ff9dbaedd ("regmap: provide helpers for simple bit operations") Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Link: https://lore.kernel.org/r/20200607093421.22209-1-brgl@bgdev.pl Signed-off-by: Mark Brown <broonie@kernel.org>