Tag: a96bedf1b8e50c46d3b486294a8972c90aadc0cb

thermal: constify pch_dev_ops structure

Author: Julia Lawall <Julia.Lawall@lip6.fr> 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 Signed-off-by: Zhang Rui — drivers/thermal/intel_pch_thermal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)   diff –git a/drivers/thermal/intel_pch_thermal.c b/drivers/thermal/intel_pch_thermal.c index 50c7da7..00d81af 100644 …

Continue reading