]> asedeno.scripts.mit.edu Git - linux.git/commit
thermal core: convert ID allocation to IDA
authorMatthew Wilcox <mawilcox@microsoft.com>
Wed, 21 Dec 2016 17:47:03 +0000 (09:47 -0800)
committerZhang Rui <rui.zhang@intel.com>
Wed, 4 Jan 2017 04:47:28 +0000 (12:47 +0800)
commitb31ef8285b19ec5563274c574fcfe7a5993125ce
tree75b6707ef5cce586befba148c79ba7d733ad5c17
parent0c744ea4f77d72b3dcebb7a8f2684633ec79be88
thermal core: convert ID allocation to IDA

The thermal core does not use the ability to look up pointers by ID, so
convert it from using an IDR to the more space-efficient IDA.

Signed-off-by: Matthew Wilcox <mawilcox@microsoft.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/thermal_core.c
include/linux/thermal.h