aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <[email protected]>2024-09-09 15:51:28 +0200
committerMark Brown <[email protected]>2024-09-10 12:44:18 +0100
commitc4d6a804713ac080841d1711a98ae1a6ecaede38 (patch)
treec4c148149cb849ef9652a754c798ef1fd990e93c /tools/perf/util/scripting-engines/trace-event-python.c
parent7dd36b3287182bc889953f7741bdcef037109210 (diff)
regulator: max77650: Use container_of and constify static data
Switch from rdev_get_drvdata() to container_of(), so the static 'struct max77650_regulator_desc' holding 'struct regulator_desc' can be made const for code safety. Signed-off-by: Krzysztof Kozlowski <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions