Skip to content

Commit b87c966

Browse files
committed
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent b387575 commit b87c966

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/dio/dio-driver.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,9 @@ void dio_unregister_driver(struct dio_driver *drv)
105105
* @dev: the DIO device structure to match against
106106
* @drv: the &device_driver that points to the array of DIO device id structures to search
107107
*
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.
111111
*/
112112

113113
static int dio_bus_match(struct device *dev, struct device_driver *drv)

0 commit comments

Comments
 (0)