Re: [RFC PATCH v1 0/22] backlight: add init macros and accessors

2020-08-04 Thread daniel
On Sun, Aug 02, 2020 at 01:06:14PM +0200, Sam Ravnborg wrote: > The backlight drivers uses several different patterns when registering > a backlight: > > - Register backlight and assign properties later > - Define a local backlight_properties variable and use memset > - Define a const

[RFC PATCH v1 0/22] backlight: add init macros and accessors

2020-08-02 Thread Sam Ravnborg
The backlight drivers uses several different patterns when registering a backlight: - Register backlight and assign properties later - Define a local backlight_properties variable and use memset - Define a const backlight_properties and assign relevant properties On top of this there was