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

dio: Fix dio_bus_match() kerneldoc

The kerneldoc for dio_bus_match() was obviously copied from
dio_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/20200112165613.20960-3-geert@linux-m68k.org

+3 -3
+3 -3
drivers/dio/dio-driver.c
··· 105 105 * @dev: the DIO device structure to match against 106 106 * @drv: the &device_driver that points to the array of DIO device id structures to search 107 107 * 108 - * Used by a driver to check whether a DIO device present in the 109 - * system is in its list of supported devices. Returns the matching 110 - * dio_device_id structure or %NULL if there is no match. 108 + * Used by the driver core to check whether a DIO device present in the 109 + * system is in a driver's list of supported devices. Returns 1 if supported, 110 + * and 0 if there is no match. 111 111 */ 112 112 113 113 static int dio_bus_match(struct device *dev, struct device_driver *drv)