diff options
author | 2022-07-12 12:08:31 +0200 | |
---|---|---|
committer | 2022-08-02 16:43:30 +0200 | |
commit | bd34266fdec2826b852dd099b17af5df2b8c92b1 (patch) | |
tree | 7a48dc131dc3ea4a3dbd2be7bd0207c11c9b42a9 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | leds: is31fl319x: Use non-wildcard names for vars, structs and defines (diff) | |
download | wireguard-linux-bd34266fdec2826b852dd099b17af5df2b8c92b1.tar.xz wireguard-linux-bd34266fdec2826b852dd099b17af5df2b8c92b1.zip |
leds: is31fl319x: Move chipset-specific values in chipdef struct
Allow setting chips' specifics in chipdef struct by adding fields for:
- the reset register address
- a pointer to a regmap_config struct
- a pointer to a brightness_set function
- current default, min and max values
- a boolean to distinguish 319{0,1,3} and 319{6,9} chips
and use those fields in places where distinction has to be made.
The fields for 319{0,1,3} still point to 319{6,9} values.
No functional change.
Signed-off-by: Vincent Knecht <vincent.knecht@mailoo.org>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions