Tag: 449278d9244277cbcaf04e0d2bb8b54797c3d5cd

hwmon: (ibmaem) constify aem_rw_sensor_template and aem_ro_sensor_template structures

Author: Julia Lawall <Julia.Lawall@lip6.fr> The aem_rw_sensor_template and aem_ro_sensor_template structures are never modified, so declare them as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall Signed-off-by: Guenter Roeck — drivers/hwmon/ibmaem.c | 12 ++++++—— 1 file changed, 6 insertions(+), 6 deletions(-)   diff –git a/drivers/hwmon/ibmaem.c b/drivers/hwmon/ibmaem.c index 7a8a6fb..1f64378 100644 — a/drivers/hwmon/ibmaem.c +++ b/drivers/hwmon/ibmaem.c @@ -920,8 …

Lire la suite