diff options
| author | Yaxiong Tian <tianyaxiong@kylinos.cn> | 2026-04-01 11:31:28 +0800 |
|---|---|---|
| committer | Chanwoo Choi <cw00.choi@samsung.com> | 2026-08-22 19:27:11 +0900 |
| commit | 0f02633e08f799f5829569a0f0eb42b65ddacbe0 (patch) | |
| tree | 20ed7f8c4d864876d15d24c28d8677b9a28b63f2 /scripts/objdiff | |
| parent | a0f11920bacdd86c9d1f2509f8a2bd5617040ed2 (diff) | |
| download | linux-next-0f02633e08f799f5829569a0f0eb42b65ddacbe0.tar.gz linux-next-0f02633e08f799f5829569a0f0eb42b65ddacbe0.zip | |
PM / devfreq: Optimize error return value of governor_show()
When df->governor is NULL, governor_show() returns -EINVAL, which
confuses users.
To fix this issue, return -ENOENT to indicate that no governor is
currently set for the device.
Signed-off-by: Yaxiong Tian <tianyaxiong@kylinos.cn>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Link: https://patchwork.kernel.org/project/linux-pm/patch/20260401033128.67925-1-tianyaxiong@kylinos.cn/
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
