[PATCH 1/6] auxdisplay/ht16k33: Replace use of fb_blank with backlight helper

Dan Carpenter dan.carpenter at linaro.org
Wed Mar 13 17:11:34 UTC 2024


On Wed, Mar 13, 2024 at 05:08:08PM +0100, Miguel Ojeda wrote:
> > -       int brightness = bl->props.brightness;
> > +       int brightness = backlight_get_brightness(bl);
> 
> This can be `const` now (or even removed and have the call embedded below).
> 

Is there an advantage to making this const?

regards,
dan carpenter



More information about the dri-devel mailing list