diff options
author | Yang Yingliang <yangyingliang@huawei.com> | 2021-06-01 14:07:21 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-06-14 16:05:00 +0200 |
commit | 3acbacfcb3a78eb53d6fa7bc1599dcdaf043465e (patch) | |
tree | 2cefe23f7508626fedf519e40ef033e9774c6fa9 /drivers/spi | |
parent | spi: remove spi_set_cs_timing() (diff) | |
download | linux-3acbacfcb3a78eb53d6fa7bc1599dcdaf043465e.tar.xz linux-3acbacfcb3a78eb53d6fa7bc1599dcdaf043465e.zip |
spi: spi-mem: fix doc warning in spi-mem.c
Fix the following make W=1 warning:
drivers/spi/spi-mem.c:819: warning: expecting prototype for spi_mem_driver_unregister_with_owner(). Prototype was for spi_mem_driver_unregister() instead
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20210601120721.3198488-1-yangyingliang@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi')
-rw-r--r-- | drivers/spi/spi-mem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-mem.c b/drivers/spi/spi-mem.c index 177b3e21febf..37f4443ce9a0 100644 --- a/drivers/spi/spi-mem.c +++ b/drivers/spi/spi-mem.c @@ -896,7 +896,7 @@ int spi_mem_driver_register_with_owner(struct spi_mem_driver *memdrv, EXPORT_SYMBOL_GPL(spi_mem_driver_register_with_owner); /** - * spi_mem_driver_unregister_with_owner() - Unregister a SPI memory driver + * spi_mem_driver_unregister() - Unregister a SPI memory driver * @memdrv: the SPI memory driver to unregister * * Unregisters a SPI memory driver. |