summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut@gmail.com>2018-12-12 02:39:49 +0100
committerLinus Walleij <linus.walleij@linaro.org>2018-12-14 15:18:42 +0100
commit873d1e8e6fafabc7750e5ef0fe0289548f540f5b (patch)
tree1489ab3a806ca57a39551c31f8a66a8eee32f18b /tools/perf/scripts/python/export-to-postgresql.py
parent651022382c7f8da46cb4872a545ee1da6d097d2a (diff)
gpio: pca953x: Deduplicate the bank_shift
The bank_shift = fls(...) code was duplicated in the driver 5 times, pull it into separate function. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Bartosz Golaszewski <bgolaszewski@baylibre.com> Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.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