]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: Add support for dev_groups to struct pci_driver
authorAndrey Grodzovsky <andrey.grodzovsky@amd.com>
Wed, 12 May 2021 14:26:39 +0000 (10:26 -0400)
committerAndrey Grodzovsky <andrey.grodzovsky@amd.com>
Thu, 20 May 2021 03:50:27 +0000 (23:50 -0400)
commitded13b9cfd595adb478a1e371d2282048bba1df5
tree5e11175b3a3f14550fe82aa3d48c91a427608421
parent03f9016ed8200d2bdf9ffcb7de93642d298e4668
PCI: Add support for dev_groups to struct pci_driver

This helps converting PCI drivers sysfs attributes to static.

Analogous to' commit b71b283e3d6d ("USB: add support for dev_groups to
struct usb_driver")'

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210512142648.666476-8-andrey.grodzovsky@amd.com
drivers/pci/pci-driver.c
include/linux/pci.h