Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <geert@linux-m68k.org>
Link: https://lore.kernel.org/r/20200112164949.20196-3-geert@linux-m68k.org

+3 -3
+3 -3
drivers/zorro/zorro-driver.c
··· 119 119 * @ids: array of Zorro device id structures to search in 120 120 * @dev: the Zorro device structure to match against 121 121 * 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. 125 125 */ 126 126 127 127 static int zorro_bus_match(struct device *dev, struct device_driver *drv)