Skip to content

Commit 443bd1c

Browse files
rddunlaptorvalds
authored andcommitted
pci kernel-doc fatal error
Fix kernel-doc comments so that they don't produce errors. Also cut some extraneous copy-paste text. Error(linhead//drivers/pci/pci.c:1133): duplicate section name 'Description' Error(linhead//drivers/pci/pci.c:1189): duplicate section name 'Description' Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 72a7369 commit 443bd1c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

drivers/pci/pci.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1123,8 +1123,7 @@ int pci_enable_wake(struct pci_dev *dev, pci_power_t state, int enable)
11231123
}
11241124

11251125
/**
1126-
* pci_prepare_to_sleep - prepare PCI device for system-wide transition into
1127-
* a sleep state
1126+
* pci_prepare_to_sleep - prepare PCI device for system-wide transition into a sleep state
11281127
* @dev: Device to handle.
11291128
*
11301129
* Choose the power state appropriate for the device depending on whether
@@ -1181,8 +1180,7 @@ int pci_prepare_to_sleep(struct pci_dev *dev)
11811180
}
11821181

11831182
/**
1184-
* pci_back_from_sleep - turn PCI device on during system-wide transition into
1185-
* the working state a sleep state
1183+
* pci_back_from_sleep - turn PCI device on during system-wide transition into working state
11861184
* @dev: Device to handle.
11871185
*
11881186
* Disable device's sytem wake-up capability and put it into D0.

0 commit comments

Comments
 (0)