aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorBastien Curutchet <[email protected]>2024-06-17 16:39:07 +0200
committerLee Jones <[email protected]>2024-06-26 17:04:35 +0100
commit0e69c9062b406d9381eff8b6f585ce2a92c442f0 (patch)
treef569768bc77d34460ea85a3789a8251a64cd7458 /lib/memory-notifier-error-inject.c
parenta031c814976012c7ab50a41165f3fdca524341a8 (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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions