diff options
author | Andy Shevchenko <[email protected]> | 2019-12-04 21:42:29 +0200 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2019-12-13 11:02:45 +0100 |
commit | 4fc5bfeb4b7d8306be6ed828df2cb5bdd14e3ed1 (patch) | |
tree | 2c0cc9e2dfcdf4949304093a956d55f173e3c984 /lib/mpi/mpi-cmp.c | |
parent | c16485ad8e023b2188d19f0ace3bc2af500884e1 (diff) |
gpiolib: Make use of assign_bit() API
We have for some time the assign_bit() API to replace open coded
if (foo)
set_bit(n, bar);
else
clear_bit(n, bar);
Use this API in GPIO library code.
No functional change intended.
Signed-off-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions