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)
commit8e6dde1b4495348a90e8a49147e8145d957cda52
tree7e089ae5c1cea21888571a376715aaec55dbab3e
parentdc6d28f4859d1fcbd2f5505862a768f07c7a9770
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