summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2024-03-28 21:39:27 +0100
committerMark Brown <broonie@kernel.org>2024-04-02 15:55:35 +0100
commit5da57c7ca9eabccd89087ed2fdac31a79b1504d8 (patch)
tree21fa0c8558138ac8ccd0f9264c6a083ca36f3113
parentba5206881843e16b74a07c37970dcc44d22f8f6f (diff)
downloadlinux-5da57c7ca9eabccd89087ed2fdac31a79b1504d8.tar.gz
linux-5da57c7ca9eabccd89087ed2fdac31a79b1504d8.tar.bz2
linux-5da57c7ca9eabccd89087ed2fdac31a79b1504d8.zip
spi: docs: drop driver owner initialization
Core in spi_register_driver() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://msgid.link/r/20240328203927.156184-1-krzysztof.kozlowski@linaro.org Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--Documentation/spi/spi-summary.rst1
1 files changed, 0 insertions, 1 deletions
diff --git a/Documentation/spi/spi-summary.rst b/Documentation/spi/spi-summary.rst
index f7f8b1573f25..7f8accfae6f9 100644
--- a/Documentation/spi/spi-summary.rst
+++ b/Documentation/spi/spi-summary.rst
@@ -348,7 +348,6 @@ SPI protocol drivers somewhat resemble platform device drivers::
static struct spi_driver CHIP_driver = {
.driver = {
.name = "CHIP",
- .owner = THIS_MODULE,
.pm = &CHIP_pm_ops,
},