diff options
| author | Nilay Shroff <[email protected]> | 2024-10-16 03:03:16 +0000 |
|---|---|---|
| committer | Keith Busch <[email protected]> | 2024-10-17 18:07:37 +0000 |
| commit | 599d9f3a10eec69ef28a90161763e4bd7c9c02bf (patch) | |
| tree | c36e34d27d5419c7819b931c44a1f6eaaef81d12 /drivers/acpi/cppc_acpi.c | |
| parent | nvme: make keep-alive synchronous operation (diff) | |
| download | kernel-599d9f3a10eec69ef28a90161763e4bd7c9c02bf.tar.gz kernel-599d9f3a10eec69ef28a90161763e4bd7c9c02bf.zip | |
nvme: use helper nvme_ctrl_state in nvme_keep_alive_finish function
We no more need acquiring ctrl->lock before accessing the
NVMe controller state and instead we can now use the helper
nvme_ctrl_state. So replace the use of ctrl->lock from
nvme_keep_alive_finish function with nvme_ctrl_state call.
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Nilay Shroff <[email protected]>
Signed-off-by: Keith Busch <[email protected]>
Diffstat (limited to 'drivers/acpi/cppc_acpi.c')
0 files changed, 0 insertions, 0 deletions
