diff options
| author | Li Jun <lijun01@kylinos.cn> | 2026-08-19 16:35:47 +0800 |
|---|---|---|
| committer | Jarkko Sakkinen <jarkko@kernel.org> | 2026-10-23 00:59:20 +0300 |
| commit | fc0ddb3174b06800d8414d87e551eb60c36d1f38 (patch) | |
| tree | 14f2f5c6dcbf6ef85bf8663f8e9371cb86d4d34a /scripts/basic | |
| parent | 95ae1ad345658632a20c45a4b471a11fdcd438d0 (diff) | |
| download | linux-fc0ddb3174b06800d8414d87e551eb60c36d1f38.tar.gz linux-fc0ddb3174b06800d8414d87e551eb60c36d1f38.zip | |
char: tpm: Use SIMPLE_DEV_PM_OPS for ibmvtpm power management
Replace the manually defined dev_pm_ops structure with the
SIMPLE_DEV_PM_OPS macro to simplify the power management code.
This macro automatically handles CONFIG_PM_SLEEP configuration,
generating the same suspend/resume callbacks while reducing
boilerplate code.Add the value of 'thaw,freeze,poweroff,restore'.
Signed-off-by: Li Jun <lijun01@kylinos.cn>
Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>
Link: https://lore.kernel.org/r/20260819083547.2703228-1-lijun01@kylinos.cn
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
