CVSROOT: /cvs Module name: src Changes by: [email protected] 2022/11/14 00:22:44
Modified files:
sys/dev/fdt : pwmbl.c
Log message:
When the fdt does not provide a list of brightness states, pwmbl(4)
builds a 256 state ramp (i.e. state[i] = i with 0 <= i < 256).
Change the logic to not need to malloc an array of values in this case,
since they are trivially known.
test&ok patrick@
