Re: [PATCH 1/6] auxbus: make to_auxiliary_drv accept and return a constant pointer

From: Sakari Ailus
Date: Tue Jun 11 2024 - 09:44:33 EST


Hi Greg,

On Tue, Jun 11, 2024 at 03:01:04PM +0200, Greg Kroah-Hartman wrote:
> In the quest to make struct device constant, start by making
> to_auziliary_drv() return a constant pointer so that drivers that call

s/z/s/

Acked-by: Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxx> # drivers/media/pci/intel/ipu6

> this can be fixed up before the driver core changes.
>
> As the return type previously was not constant, also fix up all callers
> that were assuming that the pointer was not going to be a constant one
> in order to not break the build.

--
Kind regards,

Sakari Ailus