Fix a typo in the comment describing the parameters for the new API, which triggers the following warning for htmldocs: include/linux/device.h:479: warning: Function parameter or member 'drv' not described in 'driver_find_device_by_acpi_dev'
Showing the changes to include/linux (1 of 1 file). Show all
Unified · Split
| @@ -467,7 +467,7 @@ driver_find_device_by_fwnode(struct device_driver *drv, · 466 unmodified lines | |||
| 467 | /** | 467 | /** |
| 468 | * driver_find_device_by_devt- device iterator for locating a particular device | 468 | * driver_find_device_by_devt- device iterator for locating a particular device |
| 469 | * by devt. | 469 | * by devt. |
| 470 | * @driver: the driver we're iterating | 470 | * @drv: the driver we're iterating |
| 471 | * @devt: devt pointer to match. | 471 | * @devt: devt pointer to match. |
| 472 | */ | 472 | */ |
| 473 | static inline struct device *driver_find_device_by_devt(struct device_driver *drv, | 473 | static inline struct device *driver_find_device_by_devt(struct device_driver *drv, |