summaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2024-03-27 18:47:24 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-04-09 17:45:09 +0200
commit9d343b597fb0b95659e62bf233da12c3c4d95ab1 (patch)
tree3949a46ed69a4a749a523795367f6e12bc5249ab /drivers/staging
parent9643ce5e28a7649e0359aaefd08fb84390c8db23 (diff)
downloadlinux-stable-9d343b597fb0b95659e62bf233da12c3c4d95ab1.tar.gz
linux-stable-9d343b597fb0b95659e62bf233da12c3c4d95ab1.tar.bz2
linux-stable-9d343b597fb0b95659e62bf233da12c3c4d95ab1.zip
staging: pi433: drop driver owner assignment
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://lore.kernel.org/r/20240327174724.519607-1-krzysztof.kozlowski@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/pi433/pi433_if.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/pi433/pi433_if.c b/drivers/staging/pi433/pi433_if.c
index 81de98c0245a..e08cb18b9129 100644
--- a/drivers/staging/pi433/pi433_if.c
+++ b/drivers/staging/pi433/pi433_if.c
@@ -1366,7 +1366,6 @@ MODULE_DEVICE_TABLE(of, pi433_dt_ids);
static struct spi_driver pi433_spi_driver = {
.driver = {
.name = "pi433",
- .owner = THIS_MODULE,
.of_match_table = of_match_ptr(pi433_dt_ids),
},
.probe = pi433_probe,