spi: <linux/spi/spi.h>: add missing struct kernel-doc entry
authorRandy Dunlap <rdunlap@infradead.org>
Mon, 28 Jun 2021 21:05:20 +0000 (14:05 -0700)
committerMark Brown <broonie@kernel.org>
Sun, 11 Jul 2021 22:51:44 +0000 (23:51 +0100)
commit8dd591ad0104593f315b6b2ab636a18c002f7d86
tree32b0e29c8b8df54aacf9052c036658cdac0b33f4
parentda18edb11ccad3c657a65568275920b93f688f1b
spi: <linux/spi/spi.h>: add missing struct kernel-doc entry

Fix kernel-doc warning in spi.h by adding the missing kernel-doc entry
and also correct the original comment so that they both indicate the
correct polarity of the flag.

../include/linux/spi/spi.h:673: warning: Function parameter or member 'devm_allocated' not described in 'spi_controller'

Fixes: 794aaf01444d ("spi: Fix use-after-free with devm_spi_alloc_*")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: William A. Kennington III <wak@google.com>
Cc: Mark Brown <broonie@kernel.org>
Cc: linux-spi@vger.kernel.org
Cc: Lukas Wunner <lukas@wunner.de>
Reviewed-by: Lukas Wunner <lukas@wunner.de>
Link: https://lore.kernel.org/r/20210628210520.5712-1-rdunlap@infradead.org
Signed-off-by: Mark Brown <broonie@kernel.org>
include/linux/spi/spi.h