diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2019-12-04 21:42:29 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2019-12-13 11:02:45 +0100 |
commit | 4fc5bfeb4b7d8306be6ed828df2cb5bdd14e3ed1 (patch) | |
tree | 2c0cc9e2dfcdf4949304093a956d55f173e3c984 /tools/perf/scripts/python/export-to-postgresql.py | |
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 <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20191204194229.64251-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions