diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2020-01-12 17:49:46 +0100 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2020-03-09 11:12:19 +0100 |
commit | aeee094d953b2d92f4507137c4a080589718be64 (patch) | |
tree | c6d579d909cdb8ac7e12bb7b4429ffb20c8a0d42 /drivers/zorro | |
parent | 0cfb07c5f221be5a1219f590f576c48de4efedf3 (diff) | |
download | linux-aeee094d953b2d92f4507137c4a080589718be64.tar.bz2 |
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
Diffstat (limited to 'drivers/zorro')
-rw-r--r-- | drivers/zorro/zorro-driver.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/zorro/zorro-driver.c b/drivers/zorro/zorro-driver.c index 84ac94aecb79..67e688805542 100644 --- a/drivers/zorro/zorro-driver.c +++ b/drivers/zorro/zorro-driver.c @@ -119,9 +119,9 @@ EXPORT_SYMBOL(zorro_unregister_driver); * @ids: array of Zorro device id structures to search in * @dev: the Zorro device structure to match against * - * Used by a driver to check whether a Zorro device present in the - * system is in its list of supported devices.Returns the matching - * zorro_device_id structure or %NULL if there is no match. + * Used by the driver core to check whether a Zorro device present in the + * system is in a driver's list of supported devices. Returns 1 if + * supported, and 0 if there is no match. */ static int zorro_bus_match(struct device *dev, struct device_driver *drv) |