]> git.baikalelectronics.ru Git - kernel.git/commit
leds: is31fl319x: Use non-wildcard names for vars, structs and defines
authorVincent Knecht <vincent.knecht@mailoo.org>
Tue, 12 Jul 2022 10:08:30 +0000 (12:08 +0200)
committerPavel Machek <pavel@ucw.cz>
Tue, 2 Aug 2022 14:43:30 +0000 (16:43 +0200)
commit7fdbc340af36ac5a0d2d489afa1465ef02a31e48
tree7e089ae5c1cea21888571a376715aaec55dbab3e
parentce8481e66662081e87604ed795e0c2364c0d9f73
leds: is31fl319x: Use non-wildcard names for vars, structs and defines

In order to add real support for is31fl3190, is31fl3191 and is31fl3193,
rename variant-dependent elements to not use 319X where needed.

3190 suffix is used for is31fl3190, is31fl3191 and is31fl3193 circuits.
3196 suffix is used for is31fl3196 and is31fl3199.

Those two groups have different register maps, current settings and even
a different interpretation of the software shutdown bit:
https://lumissil.com/assets/pdf/core/IS31FL3190_DS.pdf
https://lumissil.com/assets/pdf/core/IS31FL3191_DS.pdf
https://lumissil.com/assets/pdf/core/IS31FL3193_DS.pdf
https://lumissil.com/assets/pdf/core/IS31FL3196_DS.pdf
https://lumissil.com/assets/pdf/core/IS31FL3199_DS.pdf

Rename variables, structures and defines in preparation of the splitting.
No functional nor behaviour change.

Signed-off-by: Vincent Knecht <vincent.knecht@mailoo.org>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
drivers/leds/leds-is31fl319x.c