diff options
author | Vincent Knecht <vincent.knecht@mailoo.org> | 2022-07-12 13:08:31 +0300 |
---|---|---|
committer | Pavel Machek <pavel@ucw.cz> | 2022-08-02 17:43:30 +0300 |
commit | bd34266fdec2826b852dd099b17af5df2b8c92b1 (patch) | |
tree | 7a48dc131dc3ea4a3dbd2be7bd0207c11c9b42a9 /net/atm/svc.c | |
parent | 8e6dde1b4495348a90e8a49147e8145d957cda52 (diff) | |
download | linux-bd34266fdec2826b852dd099b17af5df2b8c92b1.tar.xz |
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 'net/atm/svc.c')
0 files changed, 0 insertions, 0 deletions