PCI: Use kstrtobool() directly, sans strtobool() wrapper
authorKrzysztof Wilczyński <kw@linux.com>
Wed, 15 Sep 2021 23:01:27 +0000 (23:01 +0000)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 28 Sep 2021 23:06:29 +0000 (18:06 -0500)
commite0f7b19223582c302f5736e93927aafde9458d48
tree11722471639babfab80ab6d2c668b97d69319123
parent36f354ec7bf92f8aaf09eaf3b261ea06c25ec337
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>
drivers/pci/p2pdma.c
drivers/pci/pcie/aspm.c