Skip to content

Commit aeee094

Browse files
committed
zorro: Fix zorro_bus_match() kerneldoc
The kerneldoc for zorro_bus_match() was obviously copied from zorro_match_device(), but wasnt't updated for the different calling context and semantics. Signed-off-by: Geert Uytterhoeven <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 0cfb07c commit aeee094

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/zorro/zorro-driver.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,9 @@ EXPORT_SYMBOL(zorro_unregister_driver);
119119
* @ids: array of Zorro device id structures to search in
120120
* @dev: the Zorro device structure to match against
121121
*
122-
* Used by a driver to check whether a Zorro device present in the
123-
* system is in its list of supported devices.Returns the matching
124-
* zorro_device_id structure or %NULL if there is no match.
122+
* Used by the driver core to check whether a Zorro device present in the
123+
* system is in a driver's list of supported devices. Returns 1 if
124+
* supported, and 0 if there is no match.
125125
*/
126126

127127
static int zorro_bus_match(struct device *dev, struct device_driver *drv)

0 commit comments

Comments
 (0)