linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] constify thermal_zone_of_device_ops structures
@ 2018-10-30 15:14 Julia Lawall
  2018-10-30 15:14 ` [PATCH 1/2] thermal: armada: constify thermal_zone_of_device_ops structure Julia Lawall
  2018-10-30 15:15 ` [PATCH 2/2] thermal: broadcom: " Julia Lawall
  0 siblings, 2 replies; 5+ messages in thread
From: Julia Lawall @ 2018-10-30 15:14 UTC (permalink / raw)
  To: Zhang Rui
  Cc: kernel-janitors, Eduardo Valentin, Daniel Lezcano, linux-pm,
	linux-kernel, linux-arm-kernel

The thermal_zone_of_device_ops structures can be const as they are
only passed as the last argument of a thermal_zone_of_sensor_register
function and the corresponding parameter is declared as const.

Done with the help of Coccinelle.

---

 drivers/thermal/armada_thermal.c           |    2 +-
 drivers/thermal/broadcom/brcmstb_thermal.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

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

end of thread, other threads:[~2018-10-30 16:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-30 15:14 [PATCH 0/2] constify thermal_zone_of_device_ops structures Julia Lawall
2018-10-30 15:14 ` [PATCH 1/2] thermal: armada: constify thermal_zone_of_device_ops structure Julia Lawall
2018-10-30 16:20   ` Daniel Lezcano
2018-10-30 15:15 ` [PATCH 2/2] thermal: broadcom: " Julia Lawall
2018-10-30 16:22   ` Daniel Lezcano

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).