]> git.karo-electronics.de Git - linux-beck.git/commit
thermal: intel_pch_thermal: Support skylake PCH 100 series thermal
authorOGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Tue, 18 Oct 2016 20:59:29 +0000 (05:59 +0900)
committerZhang Rui <rui.zhang@intel.com>
Wed, 23 Nov 2016 02:05:52 +0000 (10:05 +0800)
commitc6068a6edd50569fc34340c3abb30c24e24b8909
tree2cbc8a6ed704b689dcd9df26e8828c21692e212d
parent23400ac997062647f2b63c82030d189671b1effe
thermal: intel_pch_thermal: Support skylake PCH 100 series thermal

This patch uses .driver_data and board_info[] to make per pci device
behavior table (name and ops), instead of adding the code for each pci
device in switch-case. This will make easier to add new pci device
ids.

Then this adds new device id actually for skylake PCH 100 series
(using registers are compatible with currently driver, so no need to
change except adding device id to table).

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Reviewed-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/intel_pch_thermal.c