linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] constify thermal_zone_of_device_ops structures
@ 2017-08-05 20:37 Julia Lawall
  2017-08-05 20:37 ` [PATCH 1/4] thermal: qoriq: " Julia Lawall
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Julia Lawall @ 2017-08-05 20:37 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: bhumirks, kernel-janitors, linux-samsung-soc, linux-kernel,
	linux-pm, Eduardo Valentin, Zhang Rui, linux-rpi-kernel

The thermal_zone_of_device_ops structures are only passed as the fourth
argument to thermal_zone_of_sensor_register, which is declared as const.
Thus the thermal_zone_of_device_ops structures themselves can be const.

Done with the help of Coccinelle.

---

 drivers/thermal/broadcom/bcm2835_thermal.c |    2 +-
 drivers/thermal/qoriq_thermal.c            |    2 +-
 drivers/thermal/samsung/exynos_tmu.c       |    2 +-
 drivers/thermal/zx2967_thermal.c           |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-08-08 13:47 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-05 20:37 [PATCH 0/4] constify thermal_zone_of_device_ops structures Julia Lawall
2017-08-05 20:37 ` [PATCH 1/4] thermal: qoriq: " Julia Lawall
2017-08-05 20:37 ` [PATCH 2/4] thermal: zx2967: " Julia Lawall
2017-08-05 20:37 ` [PATCH 3/4] thermal: exynos: " Julia Lawall
2017-08-07 15:21   ` Bartlomiej Zolnierkiewicz
2017-08-05 20:37 ` [PATCH 4/4] thermal: bcm2835: " Julia Lawall
2017-08-07  6:41   ` Stefan Wahren
2017-08-08 13:43 ` [PATCH 0/4] " Zhang Rui
2017-08-08 13:46   ` Julia Lawall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).