aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-stp-xway.c
diff options
context:
space:
mode:
authorPerry Yuan <perry.yuan@amd.com>2024-06-22 00:50:57 +0800
committerMario Limonciello <mario.limonciello@amd.com>2024-06-24 16:16:16 -0500
commit2240d3e60bb3e7a00422596412d012aeb54c1573 (patch)
tree97fea748f715aad51543befe1f9bd5e574899c0f /drivers/gpio/gpio-stp-xway.c
parentbc76f57574741cc8e7d04c53f199d8722ce09413 (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/gpio/gpio-stp-xway.c')
0 files changed, 0 insertions, 0 deletions