thermal: Use thermal zone device id in netlink messages
authorEduardo Valentin <eduardo.valentin@ti.com>
Wed, 2 Jan 2013 15:29:39 +0000 (15:29 +0000)
committerZhang Rui <rui.zhang@intel.com>
Wed, 16 Jan 2013 02:46:46 +0000 (10:46 +0800)
This patch changes the function thermal_generate_netlink_event
to receive a thermal zone device instead of a originator id.

This way, the messages will always be bound to a thermal zone.

Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
Reviewed-by: Durgadoss R <durgadoss.r@intel.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>

No differences found