[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1501965437-30730-1-git-send-email-Julia.Lawall@lip6.fr>
Date: Sat, 5 Aug 2017 22:37:13 +0200
From: Julia Lawall <Julia.Lawall@...6.fr>
To: linux-arm-kernel@...ts.infradead.org
Cc: bhumirks@...il.com, kernel-janitors@...r.kernel.org,
linux-samsung-soc@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-pm@...r.kernel.org, Eduardo Valentin <edubezval@...il.com>,
Zhang Rui <rui.zhang@...el.com>,
linux-rpi-kernel@...ts.infradead.org
Subject: [PATCH 0/4] 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, 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(-)
Powered by blists - more mailing lists