diff options
author | Andrew Davis <afd@ti.com> | 2024-02-08 10:51:12 -0600 |
---|---|---|
committer | Bjorn Andersson <andersson@kernel.org> | 2024-03-05 20:01:14 -0800 |
commit | 25f7d74d451484fc09772fc276b161d1a6bc64b6 (patch) | |
tree | d37ac319b7de225d4a85b1bdea7f85c627cb5af2 /scripts/generate_rust_target.rs | |
parent | 19856a07e5fd25821084b6b8d9ef177d21909483 (diff) |
hwspinlock: omap: Use devm_pm_runtime_enable() helper
This disables runtime PM on module exit automatically for us, currently
we manually disable runtime PM which can be error-prone if not done
in the right order or missed in some exit path. This also allows us
to simplify the probe exit path and remove callbacks. Do that here.
While here, as we can now return right after registering our hwspinlock,
simply return directly and remove the extra debug message.
Signed-off-by: Andrew Davis <afd@ti.com>
Link: https://lore.kernel.org/r/20240208165114.63148-2-afd@ti.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'scripts/generate_rust_target.rs')
0 files changed, 0 insertions, 0 deletions