thermal: constify pch_dev_ops structure

The pch_dev_ops structure is never modified.  It is only stored in a field
that is already declared as const.

Done with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
This commit is contained in:
Julia Lawall 2015-10-11 13:01:28 +02:00 коммит произвёл Zhang Rui
Родитель 74bf8efb5f
Коммит a96bedf1b8
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -136,7 +136,7 @@ struct pch_dev_ops {
/* dev ops for Wildcat Point */
static struct pch_dev_ops pch_dev_ops_wpt = {
static const struct pch_dev_ops pch_dev_ops_wpt = {
.hw_init = pch_wpt_init,
.get_temp = pch_wpt_get_temp,
};