aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/pci-sysfs.c
diff options
context:
space:
mode:
authorKrzysztof Wilczyński <kw@linux.com>2021-09-15 23:01:27 +0000
committerBjorn Helgaas <bhelgaas@google.com>2021-09-28 18:06:29 -0500
commite0f7b19223582c302f5736e93927aafde9458d48 (patch)
tree11722471639babfab80ab6d2c668b97d69319123 /drivers/pci/pci-sysfs.c
parentPCI/sysfs: Return -EINVAL consistently from "store" functions (diff)
downloadlinux-dev-e0f7b19223582c302f5736e93927aafde9458d48.tar.xz
linux-dev-e0f7b19223582c302f5736e93927aafde9458d48.zip
PCI: Use kstrtobool() directly, sans strtobool() wrapper
strtobool() is a wrapper around kstrtobool() that has been added for backward compatibility. There is no reason to use the old API, so use kstrtobool() directly. Related: ef951599074b ("lib: move strtobool() to kstrtobool()") Link: https://lore.kernel.org/r/20210915230127.2495723-3-kw@linux.com Signed-off-by: Krzysztof Wilczyński <kw@linux.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/pci-sysfs.c')
0 files changed, 0 insertions, 0 deletions