diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2020-04-20 20:27:50 +0300 |
---|---|---|
committer | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2020-04-29 13:19:38 +0200 |
commit | 6f793485fc03fe832e1abcf0682efd7b4419ae2d (patch) | |
tree | 8b84d3fff6d004f075f4a487dc20032be367c90b /kernel/stackleak.c | |
parent | 9784c9963feccd8dede924dbc0f8b1c64506e646 (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 <pthomas8589@gmail.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'kernel/stackleak.c')
0 files changed, 0 insertions, 0 deletions