On Thu, Jan 7, 2021 at 6:04 PM Daniel Lezcano <daniel.lezcano@xxxxxxxxxx> wrote: > > On 06/01/2021 10:03, Dan Carpenter wrote: > > The powercap_register_control_type() function never returns NULL, it > > returns error pointers on error so update this check. > > > > Fixes: a20d0ef97abf ("powercap/drivers/dtpm: Add API for dynamic thermal power management") > > Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> > > Acked-by: Daniel Lezcano <daniel.lezcano@xxxxxxxxxx> > > Thanks for these fixes. All 3 patches applied, but as the original DTPM changes have not made it into 5.11-rc, all of this is 5.12 material now.