summaryrefslogtreecommitdiff
path: root/tools/power/cpupower/utils/helpers/helpers.h
diff options
context:
space:
mode:
authorWyes Karny <wyes.karny@amd.com>2023-06-19 19:05:00 +0000
committerShuah Khan <skhan@linuxfoundation.org>2023-07-18 16:06:44 -0600
commit1ce5ab7c1dbfa82f0d382a48cccb51178cbf5416 (patch)
tree55b7be76052c90cdb104d1be4f6daca131646862 /tools/power/cpupower/utils/helpers/helpers.h
parenta1cf97c2d43ae51f3de091d51adff6b70a5cd55c (diff)
cpupower: Add is_valid_path API
Add is_valid_path API to check whether the sysfs file is present or not. Suggested-by: Gautham R. Shenoy <gautham.shenoy@amd.com> Reviewed-by: Mario Limonciello <mario.limonciello@amd.com> Signed-off-by: Wyes Karny <wyes.karny@amd.com> Tested-by: Perry Yuan <Perry.Yuan@amd.com> Acked-by: Huang Rui <ray.huang@amd.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/power/cpupower/utils/helpers/helpers.h')
0 files changed, 0 insertions, 0 deletions