thermal: user_space gov: Add additional information in uevent
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Fri, 26 Aug 2016 23:21:17 +0000 (16:21 -0700)
committerZhang Rui <rui.zhang@intel.com>
Tue, 27 Sep 2016 06:37:10 +0000 (14:37 +0800)
commit998d924b712896c540c76c679fc7d53d6a880d5d
treea2d0bdc5e8ea442ce74cd4d4fdb9a941c9029a5f
parent0e70f466fb910ae54c4c71243b99385129e93feb
thermal: user_space gov: Add additional information in uevent

Add additional properties:
NAME= Thermal zone type
TEMP= Temperature sample value
TRIP= Violated trip index
EVENT= The notification event (new temperature sample, trip violation
trip changed)

This is the additional information to what kobject_uevent already
provides. So it will not impact existing user spaces.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/user_space.c