spi: Add missing kerneldoc description for parameter
authorThierry Reding <treding@nvidia.com>
Tue, 10 Nov 2015 12:03:04 +0000 (13:03 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 10 Nov 2015 18:44:53 +0000 (18:44 +0000)
Commit ca5d24854210 ("spi: Add THIS_MODULE to spi_driver in SPI core")
adds the new __spi_register_driver() function, but keeps the kerneldoc
for the spi_register_driver() function in place and forgets to add the
description for the new owner parameter.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi.c

index e2415be209d5a77e9224add30db37d65244fabda..20ef4693d48fbcaef27b29d6a6bfe6e1f9e24457 100644 (file)
@@ -376,6 +376,7 @@ static void spi_drv_shutdown(struct device *dev)
 
 /**
  * __spi_register_driver - register a SPI driver
+ * @owner: owner module of the driver to register
  * @sdrv: the driver to register
  * Context: can sleep
  *