]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5efd2572f1ad2c0988b549030518a42766114267
treea2d0bdc5e8ea442ce74cd4d4fdb9a941c9029a5f
parent19ce9052e2f7ddbad1f31dd587d03ad1e68e040d
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