summaryrefslogtreecommitdiff
path: root/rust/helpers
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2025-06-16 20:16:21 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-06-17 10:57:56 +0200
commitb29929b819f35503024c6a7e6ad442f6e36c68a0 (patch)
tree60ed78485969fef2a470c87f3d901cbe3d618ca9 /rust/helpers
parentfb506e31b3d52f7faaec00352c2732ce31c1f930 (diff)
driver core: Add device_link_test() for testing device link flags
To avoid coding mistakes like the one fixed by commit 3860cbe23963 ("PM: sleep: Fix bit masking operation"), introduce device_link_test() for testing device link flags and use it where applicable. No intentional functional impact. Signed-off-by: "Rafael J. Wysocki" <rafael.j.wysocki@intel.com> Link: https://lore.kernel.org/r/2793309.mvXUDI8C0e@rjwysocki.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'rust/helpers')
0 files changed, 0 insertions, 0 deletions