summaryrefslogtreecommitdiffstats
path: root/drivers/spi
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2020-07-17 14:54:15 +0100
committerMark Brown <broonie@kernel.org>2020-07-17 16:38:48 +0100
commit78a7f0c0a170ddef39822b8ec2b6311f0f27ea9b (patch)
treeb06985cd0c5adfd15aaff3e30ae8820de061773d /drivers/spi
parentdfa51f6db34608d7829a5ef6add11557e548969a (diff)
downloadlinux-stable-78a7f0c0a170ddef39822b8ec2b6311f0f27ea9b.tar.gz
linux-stable-78a7f0c0a170ddef39822b8ec2b6311f0f27ea9b.tar.bz2
linux-stable-78a7f0c0a170ddef39822b8ec2b6311f0f27ea9b.zip
spi: spi-meson-spifc: Fix misdocumenting of 'dev' in 'struct meson_spifc'
Fixes the following W=1 kernel build warning(s): drivers/spi/spi-meson-spifc.c:80: warning: Function parameter or member 'dev' not described in 'meson_spifc' Signed-off-by: Lee Jones <lee.jones@linaro.org> Cc: Kevin Hilman <khilman@baylibre.com> Cc: Beniamino Galvani <b.galvani@gmail.com> Cc: linux-amlogic@lists.infradead.org Link: https://lore.kernel.org/r/20200717135424.2442271-6-lee.jones@linaro.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi')
-rw-r--r--drivers/spi/spi-meson-spifc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-meson-spifc.c b/drivers/spi/spi-meson-spifc.c
index c7b039980291..8eca6f24cb79 100644
--- a/drivers/spi/spi-meson-spifc.c
+++ b/drivers/spi/spi-meson-spifc.c
@@ -70,7 +70,7 @@
* @master: the SPI master
* @regmap: regmap for device registers
* @clk: input clock of the built-in baud rate generator
- * @device: the device structure
+ * @dev: the device structure
*/
struct meson_spifc {
struct spi_master *master;