diff mbox

spi: Add missing kerneldoc description for parameter

Message ID 1447156984-22000-1-git-send-email-thierry.reding@gmail.com (mailing list archive)
State Accepted
Commit 88c9321d1ddb9c9539f1ef5da86a35604eb153d5
Headers show

Commit Message

Thierry Reding Nov. 10, 2015, 12:03 p.m. UTC
From: Thierry Reding <treding@nvidia.com>

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>
---
 drivers/spi/spi.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

diff --git a/drivers/spi/spi.c b/drivers/spi/spi.c
index e2415be209d5..20ef4693d48f 100644
--- a/drivers/spi/spi.c
+++ b/drivers/spi/spi.c
@@ -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
  *