Re: [PATCH v1 2/2] thermal: Fail object registration if thermal class is not registered

From: Greg Kroah-Hartman
Date: Tue Jan 24 2023 - 12:04:45 EST


On Tue, Jan 24, 2023 at 02:57:55PM +0100, Rafael J. Wysocki wrote:
> On Tue, Jan 24, 2023 at 7:03 AM Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
>
> > > Oh well, we may as well just allocate it dynamically.
> >
> > Allocate what?
>
> Well, that was a bit terse, sorry.
>
> This patch implements what I meant:
> https://patchwork.kernel.org/project/linux-pm/patch/5660360.DvuYhMxLoT@kreacher/

That looks good, I like that change, it's much simpler overall.

greg k-h