diff options
author | Marek Vasut <marek.vasut@gmail.com> | 2018-12-12 02:39:57 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2018-12-14 15:19:07 +0100 |
commit | b32cecb46bdc8b3ea36c7a71aaca1853c0342cae (patch) | |
tree | 4ba782795775440cb2285f09218f39f08732afa8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 25a1b7102f3f1181be1feaa0ed6ff82f1b526acd (diff) |
gpio: pca953x: Extract the register address mangling to single function
Instead of having the I2C register calculation function spread across
multiple accessor functions, pull it out into a single function which
returns the adjusted register address.
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Bartosz Golaszewski <bgolaszewski@baylibre.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