thermal: intel_pch_thermal: constify pci_device_id.
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Wed, 2 Aug 2017 17:58:40 +0000 (23:28 +0530)
committerZhang Rui <rui.zhang@intel.com>
Tue, 8 Aug 2017 13:31:43 +0000 (21:31 +0800)
commit9b877de3e05593540d7cc120ae3741937d3091c9
tree8ccb179658125a65c6a4b1164aca19d605c45eac
parent68fd77cf8a4b045594231f07e5fc92e1a34c0a9e
thermal: intel_pch_thermal: constify pci_device_id.

pci_device_id are not supposed to change at runtime. All functions
working with pci_device_id provided by <linux/pci.h> work with
const pci_device_id. So mark the non-const structs as const.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/intel_pch_thermal.c