Re: [PATCH v3 3/5] thermal/drivers/generic-adc: Allow probe without TZ registration

From: Jonathan Cameron

Date: Mon Nov 16 2026 - 22:12:09 EST


On Mon, 16 Nov 2026 09:02:10 +0100
"Luca Weiss" <luca.weiss@xxxxxxxxxxxxx> wrote:

> Hi Jonathan,
>
> On Sat Nov 14, 2026 at 1:15 AM CET, Jonathan Cameron wrote:
> > On Fri, 13 Nov 2026 16:56:44 +0100
> > Luca Weiss <luca.weiss@xxxxxxxxxxxxx> wrote:
> >
> >> If the devicetree node is not referenced in a zone under /thermal-zones,
> >> devm_thermal_of_zone_register() will fail with -ENODEV.
> >>
> >> Since the driver is now also registering as an IIO device[0], allow the
> >> probe to continue without the thermal zone.
> >
> > Papering over problems, or expected path for some devices? If it's
> > expected path we probably don't want to print a message with the
> > word failed in it.
>
> Expected path for some devices. Should I make this into dev_dbg then or
> remove the print completely?
>

Either is fine.

>