RE: thermal: Avoid CONFIG_NET compile dependency

R, Durgadoss
2011-01-25T08:46:13Z

Hi Rui,

> I think a thermal zone id and an event id is enough.
> Applications should rescan /sys/class/power_supply/ to see what is
> actually going on. :)
>

I agree with you here Rui.

> a question for Durgadoss,
> int thermal_netlink_event(u32 orig, enum events event)
> what does parameter "orig" stand for?
>
As you mentioned, it is the thermal_zone id.
I named it "orig" for "originator" of that particular event.

> If we only need to change the enum event, what about a patch to fix the
> enum event first and then shipping the coretemp/pkgtemp driver patch on
> top of it?
>
> thanks,
> rui
> >
> > Thomas
> > --
> > To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at http://vger.kernel.org/majordomo-info.html
>