aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2020-04-20 20:27:50 +0300
committerBartosz Golaszewski <[email protected]>2020-04-29 13:19:38 +0200
commit6f793485fc03fe832e1abcf0682efd7b4419ae2d (patch)
tree8b84d3fff6d004f075f4a487dc20032be367c90b /scripts/gdb/linux
parent9784c9963feccd8dede924dbc0f8b1c64506e646 (diff)
gpio: pca953x: Rewrite ->get_multiple() function
The commit 96d7c7b3e654 ("gpio: gpio-pca953x, Add get_multiple function") basically did everything wrong from style and code reuse perspective, i.e. - it didn't utilize existing PCA953x internal helpers - it didn't utilize bitmap API - it misses the point that ilog2(), besides that BANK_SFT is useless, can be used in macros - it has indentation issues. Rewrite the function completely. Cc: Paul Thomas <[email protected]> Signed-off-by: Andy Shevchenko <[email protected]> Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions