Re: [RESEND][PATCH v1 3/5] thermal: trip: Pass trip pointer to .set_trip_temp() thermal zone callback
From: Rafael J. Wysocki
Date: Wed Jul 03 2024 - 07:37:55 EST
On Wed, Jul 3, 2024 at 10:43 AM Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote:
>
> You said in the cover letter this hasn't received much attention ... as
> far as I can tell, the only wireless thing is this:
>
> > --- linux-pm.orig/drivers/net/wireless/intel/iwlwifi/mvm/tt.c
> > +++ linux-pm/drivers/net/wireless/intel/iwlwifi/mvm/tt.c
> > @@ -638,7 +638,7 @@ out:
> > }
> >
> > static int iwl_mvm_tzone_set_trip_temp(struct thermal_zone_device *device,
> > - int trip, int temp)
> > + const struct thermal_trip *trip, int temp)
> > {
> > struct iwl_mvm *mvm = thermal_zone_device_priv(device);
> > int ret;
>
> which I guess looks totally fine :)
Well, I would think so. :-)
Thanks!