thermal/core: Rename 'trips' to 'num_trips'
authorDaniel Lezcano <daniel.lezcano@linexp.org>
Fri, 22 Jul 2022 20:00:04 +0000 (22:00 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 28 Jul 2022 15:29:56 +0000 (17:29 +0200)
commite5bfcd30f88fdb0ce830229e7ccdeddcb7a59b04
treec47529d1c4d9d9a99d48e992fcf06ba893f5ceac
parente5f2cda61d068e14af95ed8ee74c80e565af3f29
thermal/core: Rename 'trips' to 'num_trips'

In order to use thermal trips defined in the thermal structure, rename
the 'trips' field to 'num_trips' to have the 'trips' field containing the
thermal trip points.

Cc: Alexandre Bailon <abailon@baylibre.com>
Cc: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linexp.org>
Link: https://lore.kernel.org/r/20220722200007.1839356-8-daniel.lezcano@linexp.org
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/thermal/gov_fair_share.c
drivers/thermal/gov_power_allocator.c
drivers/thermal/tegra/tegra30-tsensor.c
drivers/thermal/thermal_core.c
drivers/thermal/thermal_helpers.c
drivers/thermal/thermal_netlink.c
drivers/thermal/thermal_sysfs.c
include/linux/thermal.h