aboutsummaryrefslogtreecommitdiff
path: root/drivers/pci/controller/pci-host-common.c
diff options
context:
space:
mode:
authorPerry Yuan <[email protected]>2024-06-22 00:50:57 +0800
committerMario Limonciello <[email protected]>2024-06-24 16:16:16 -0500
commit2240d3e60bb3e7a00422596412d012aeb54c1573 (patch)
tree97fea748f715aad51543befe1f9bd5e574899c0f /drivers/pci/controller/pci-host-common.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 <[email protected]> Reviewed-by: Gautham R. Shenoy <[email protected]> Signed-off-by: Perry Yuan <[email protected]> Link: https://lore.kernel.org/r/d392eba3bad1231776124c321cef8c184ce1482d.1718988436.git.perry.yuan@amd.com Signed-off-by: Mario Limonciello <[email protected]>
Diffstat (limited to 'drivers/pci/controller/pci-host-common.c')
0 files changed, 0 insertions, 0 deletions