aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/proc.py
diff options
context:
space:
mode:
authorStephan Gerhold <[email protected]>2021-06-18 13:15:54 +0200
committerBjorn Andersson <[email protected]>2021-06-23 13:35:12 -0500
commit61d1961adf4bd57d1b2c6d94d97323263c470cb2 (patch)
treeffccc47cb2f0a3c227b23f2b4a85ffd87b8cf0e4 /scripts/gdb/linux/proc.py
parent30da589dba53d2a0b64efe0bb93919833bc43366 (diff)
soc: qcom: smem_state: Add devm_qcom_smem_state_get()
It is easy to forget to call qcom_smem_state_put() after a qcom_smem_state_get(). Introduce a devm_qcom_smem_state_get() helper function that automates this so that qcom_smem_state_put() is automatically called when a device is removed. Signed-off-by: Stephan Gerhold <[email protected]> Reviewed-by: Bjorn Andersson <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions