diff options
author | 2023-02-08 20:03:32 +0100 | |
---|---|---|
committer | 2023-02-15 17:29:15 +0100 | |
commit | aef43e04937ea819c6c1b35030b48f06f73488e0 (patch) | |
tree | 6e14e3ca9bb37fe430eb15dba64e154e32bd867b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | thermal/drivers/rcar_gen3_thermal: Do not call set_trips() when resuming (diff) | |
download | wireguard-linux-aef43e04937ea819c6c1b35030b48f06f73488e0.tar.xz wireguard-linux-aef43e04937ea819c6c1b35030b48f06f73488e0.zip |
thermal/drivers/rcar_gen3_thermal: Create device local ops struct
The callback operations are modified on a driver global level. If one
device tree description do not define interrupts, the set_trips()
operation was disabled globally for all users of the driver.
Fix this by creating a device local copy of the operations structure and
modify the copy depending on what the device can do.
Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Link: https://lore.kernel.org/r/20230208190333.3159879-3-niklas.soderlund+renesas@ragnatech.se
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions