aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2017-01-03 19:01:17 +0200
committerLinus Walleij <linus.walleij@linaro.org>2017-01-11 12:07:17 +0100
commit5e4e6fb3ff31b44d94ffcc34ae4f3af476104863 (patch)
treefbba552b1691a3607e1b18d090144248ca59957e /tools/perf/scripts/python/call-graph-from-postgresql.py
parentgpio: davinci: Remove redundant members davinci_gpio_controller stuct (diff)
downloadlinux-dev-5e4e6fb3ff31b44d94ffcc34ae4f3af476104863.tar.xz
linux-dev-5e4e6fb3ff31b44d94ffcc34ae4f3af476104863.zip
gpiolib: Switch to for_each_set_bit()
The macro for_each_set_bit() effectively looks up to the next set bit in array of bits. Instead of open coding that switch to for_each_set_bit() in gpio_chip_set_multiple(). While here, make gpio_chip_set_multiple() non-destructive against its parameters. We are safe since all callers, i.e. gpiod_set_array_value_complex(), handle that already. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions