summaryrefslogtreecommitdiff
path: root/rust/alloc/collections/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorArtem Shimko <a.shimko.dev@gmail.com>2025-11-04 17:54:26 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-12-17 15:05:00 +0100
commit485c13d9bc7a83532c038757c2f155728bb4bb38 (patch)
tree1aede8bae6f303d1c3542d2d94e5b379ad0ae9b4 /rust/alloc/collections/git@git.tavy.me:linux.git
parentd31228143a489ba6ba797896a07541ce06828c09 (diff)
serial: 8250_dw: fix runtime PM initialization sequence
Move pm_runtime_set_active() call earlier in probe to simplify error handling and add proper error checking to ensure the device is marked as active before any runtime PM operations can occur. Additionally, replace the const struct dev_pm_ops declaration with _DEFINE_DEV_PM_OPS macro for better consistency with modern kernel PM patterns. Signed-off-by: Artem Shimko <a.shimko.dev@gmail.com> Link: https://patch.msgid.link/20251104145433.2316165-3-a.shimko.dev@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'rust/alloc/collections/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions