diff options
author | Bastien Curutchet <bastien.curutchet@bootlin.com> | 2024-06-17 16:39:07 +0200 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2024-06-26 17:04:35 +0100 |
commit | 0e69c9062b406d9381eff8b6f585ce2a92c442f0 (patch) | |
tree | f569768bc77d34460ea85a3789a8251a64cd7458 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | a031c814976012c7ab50a41165f3fdca524341a8 (diff) |
leds: pca9532: Use defines to select PWM instance
Two tables are used to configure the PWM and PSC registers of the two
PWM available in the pca9532. Magic numbers are used to access this table
instead of defines.
Add defines PCA9532_PWM_ID_0 and PCA9532_PWM_ID_1 and use them in place of
these magic numbers.
Signed-off-by: Bastien Curutchet <bastien.curutchet@bootlin.com>
Link: https://lore.kernel.org/r/20240617143910.154546-2-bastien.curutchet@bootlin.com
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions