Re: [PATCH] media: i2c: video: constify pointers to hwmon_channel_info
From: Sakari Ailus
Date: Fri Apr 07 2023 - 13:20:00 EST
Hi Krzysztof,
On Fri, Apr 07, 2023 at 05:00:15PM +0200, Krzysztof Kozlowski wrote:
> Statically allocated array of pointed to hwmon_channel_info can be made
> const for safety.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
>
> ---
>
> This depends on hwmon core patch:
> https://lore.kernel.org/all/20230406203103.3011503-2-krzysztof.kozlowski@xxxxxxxxxx/
>
> Therefore I propose this should also go via hwmon tree.
Works for me. Please add:
Acked-by: Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxx>
Thanks!
--
Kind regards,
Sakari Ailus