firmware: raspberrypi: Add backward compatible get_throttled
authorStefan Wahren <stefan.wahren@i2se.com>
Sat, 13 Oct 2018 11:31:21 +0000 (13:31 +0200)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:32:49 +0000 (11:32 +0000)
commit179b2e97694ac194c16e03d5b4d670f34eba987f
tree9272592142d77cd9dcc8682c1bf7a6d5d1fb4060
parentc4c7b084cbd373d1ba0b83fcf79a1ff16538c754
firmware: raspberrypi: Add backward compatible get_throttled

Avoid a hard userspace ABI change by adding a compatible get_throttled
sysfs entry. Its value is now feed by the GET_THROTTLED requests of the
new hwmon driver. The first access to get_throttled will generate
a warning.

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
drivers/firmware/raspberrypi.c