diff options
| author | Janani Sunil <janani.sunil@analog.com> | 2026-09-10 19:29:10 +0200 |
|---|---|---|
| committer | Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> | 2026-09-16 11:08:26 +0200 |
| commit | a4319947b59145b95353aabed4db879e9448ea50 (patch) | |
| tree | b9411f41ed8b7bf5ece474c361caf5d8f75234b9 /include | |
| parent | 4bfe5b08a5912d1720689b1fc7f46c9b8641997d (diff) | |
| download | linux-next-a4319947b59145b95353aabed4db879e9448ea50.tar.gz linux-next-a4319947b59145b95353aabed4db879e9448ea50.zip | |
gpio: regmap: Use regmap_test_bits() for single bit reads
Use regmap_test_bits() when reading a single GPIO value from a normal
register and when reading the direction bit.
Reviewed-by: Linus Walleij <linusw@kernel.org>
Reviewed-by: Michael Walle <mwalle@kernel.org>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Signed-off-by: Janani Sunil <janani.sunil@analog.com>
Link: https://patch.msgid.link/20260910-ad7768-gpio-v8-1-6aaaa15adeb3@analog.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
