diff options
| author | Li Jun <lijun01@kylinos.cn> | 2026-09-08 17:49:01 +0800 |
|---|---|---|
| committer | Niklas Cassel <cassel@kernel.org> | 2026-09-08 13:39:24 +0200 |
| commit | f091e60fc986eb12ff632f682848b88da824bccb (patch) | |
| tree | f9dd72c1c266d71689075358cf0269b7946223be /tools/lib/python | |
| parent | bd46a0b22933fb45f4ff009fa4a3836124df34b3 (diff) | |
ata: ahci_da850: switch to DEFINE_SIMPLE_DEV_PM_OPS
Replace the deprecated SIMPLE_DEV_PM_OPS macro with the recommended
DEFINE_SIMPLE_DEV_PM_OPS. Use pm_ptr(&ahci_da850_pm_ops) to complete
the API migration and allow the structure to be correctly dropped
when CONFIG_PM_SLEEP=n.
Signed-off-by: Li Jun <lijun01@kylinos.cn>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Link: https://lore.kernel.org/r/20260908094901.2527974-1-lijun01@kylinos.cn
Signed-off-by: Niklas Cassel <cassel@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
