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

Dan Carpenter
2024-03-13T17:11:40Z

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