Re: [PATCH v1 04/11] thermal/drivers/db8500: Use driver dev instead of tz->device

From: Linus Walleij
Date: Tue Mar 07 2023 - 15:52:54 EST


On Tue, Mar 7, 2023 at 2:37 PM Daniel Lezcano <daniel.lezcano@xxxxxxxxxx> wrote:

> The db8500 driver uses the thermal zone device instead of the device
> attached to it. In order to prevent the drivers to access the thermal
> zone device structure, replace the thermal zone device by the driver
> to show the debug message.
>
> Cc: Linus Walleij <linus.walleij@xxxxxxxxxx>
> Signed-off-by: Daniel Lezcano <daniel.lezcano@xxxxxxxxxx>

Yep that's the right thing to do.
Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Yours,
Linus Walleij