Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a96bedf1 authored by Julia Lawall's avatar Julia Lawall Committed by Zhang Rui
Browse files

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: default avatarJulia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: default avatarZhang Rui <rui.zhang@intel.com>
parent 74bf8efb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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,
};