diff options
| author | 2020-09-22 21:28:35 +0200 | |
|---|---|---|
| committer | 2020-09-30 18:53:28 +0200 | |
| commit | 2a378856e32c98f747bde3fd338ca0e322aae8cb (patch) | |
| tree | a78f643fa7406643cc0eb2927140cb224867fa87 /include/uapi/git:/ssh:/git@git.zx2c4.com | |
| parent | leds: lm36274: Fix warning for undefined parameters (diff) | |
| download | linux-dev-2a378856e32c98f747bde3fd338ca0e322aae8cb.tar.xz linux-dev-2a378856e32c98f747bde3fd338ca0e322aae8cb.zip | |
leds: pca9532: correct shift computation in pca9532_getled
Each led setting occupies two bits in a corresponding led register.
Accessing these bits requires shifting and masking, which was
implemented incorrectly in pca9532_getled. Two new helper macros
concentrate the computation of those masks in one place.
Signed-off-by: Markus Moll <mmoll@de.pepperl-fuchs.com>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to 'include/uapi/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
