]> www.infradead.org Git - users/jedix/linux-maple.git/commit
PCI/sysfs: Move reset related sysfs code to correct file
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Mon, 28 Oct 2024 17:40:44 +0000 (19:40 +0200)
committerKrzysztof Wilczyński <kwilczynski@kernel.org>
Wed, 15 Jan 2025 03:54:22 +0000 (03:54 +0000)
commit10269d5781337e1295816c1015dd5da49ac23cc8
tree83003db1b6846a2036c063dc6b566750b74ace58
parent40384c840ea1944d7c5a392e8975ed088ecf0b37
PCI/sysfs: Move reset related sysfs code to correct file

Most PCI sysfs code and structs are in a dedicated file but a few reset
related things remain in pci.c. Move also them to pci-sysfs.c and drop
pci_dev_reset_method_attr_is_visible() as it is 100% duplicate of
pci_dev_reset_attr_is_visible().

Link: https://lore.kernel.org/r/20241028174046.1736-2-ilpo.jarvinen@linux.intel.com
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
drivers/pci/pci-sysfs.c
drivers/pci/pci.c
drivers/pci/pci.h