[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Tue, 8 Aug 2017 17:08:54 +0200
From: Julia Lawall <Julia.Lawall@...6.fr>
To: linux-rpi-kernel@...ts.infradead.org
Cc: bhumirks@...il.com, kernel-janitors@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
linux-samsung-soc@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-pm@...r.kernel.org, linux-input@...r.kernel.org,
linux-hwmon@...r.kernel.org
Subject: [PATCH 0/9 v2] constify thermal_zone_of_device_ops structures
The thermal_zone_of_device_ops structures are only passed as the fourth
argument to thermal_zone_of_sensor_register or
devm_thermal_zone_of_sensor_register, both of which are declared as const.
Thus the thermal_zone_of_device_ops structures themselves can be const.
v2: add structures passed to devm_thermal_zone_of_sensor_register also.
Done with the help of Coccinelle.
---
drivers/hwmon/hwmon.c | 2 +-
drivers/hwmon/scpi-hwmon.c | 2 +-
drivers/input/touchscreen/sun4i-ts.c | 2 +-
drivers/thermal/broadcom/bcm2835_thermal.c | 2 +-
drivers/thermal/hisi_thermal.c | 2 +-
drivers/thermal/qoriq_thermal.c | 2 +-
drivers/thermal/rcar_gen3_thermal.c | 2 +-
drivers/thermal/samsung/exynos_tmu.c | 2 +-
drivers/thermal/zx2967_thermal.c | 2 +-
9 files changed, 9 insertions(+), 9 deletions(-)
Powered by blists - more mailing lists