diff options
author | Perry Yuan <perry.yuan@amd.com> | 2024-06-22 00:50:57 +0800 |
---|---|---|
committer | Mario Limonciello <mario.limonciello@amd.com> | 2024-06-24 16:16:16 -0500 |
commit | 2240d3e60bb3e7a00422596412d012aeb54c1573 (patch) | |
tree | 97fea748f715aad51543befe1f9bd5e574899c0f /drivers/irqchip | |
parent | bc76f57574741cc8e7d04c53f199d8722ce09413 (diff) |
cpufreq: simplify boolean parsing with kstrtobool in store function
Update the cpufreq store function to use kstrtobool for parsing boolean
values. This simplifies the code and improves readability by using a
standard kernel function for boolean string conversion.
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Reviewed-by: Gautham R. Shenoy <gautham.shenoy@amd.com>
Signed-off-by: Perry Yuan <perry.yuan@amd.com>
Link: https://lore.kernel.org/r/d392eba3bad1231776124c321cef8c184ce1482d.1718988436.git.perry.yuan@amd.com
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Diffstat (limited to 'drivers/irqchip')
0 files changed, 0 insertions, 0 deletions