mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-01 02:36:02 +00:00
spi: loopback-test: 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://msgid.link/r/20240327174737.519637-1-krzysztof.kozlowski@linaro.org Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
d5449432f7
commit
f04cff14e2
@ -396,7 +396,6 @@ MODULE_DEVICE_TABLE(of, spi_loopback_test_of_match);
|
||||
static struct spi_driver spi_loopback_test_driver = {
|
||||
.driver = {
|
||||
.name = "spi-loopback-test",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = spi_loopback_test_of_match,
|
||||
},
|
||||
.probe = spi_loopback_test_probe,
|
||||
|
Loading…
Reference in New Issue
Block a user