The module_spi_driver() macro already inserts THIS_MODULE into the driver .owner field. Remove it to save a line.
Cc: Andrey Pronin <apro...@chromium.org> Cc: Duncan Laurie <dlau...@chromium.org> Cc: Jason Gunthorpe <j...@ziepe.ca> Cc: Arnd Bergmann <a...@arndb.de> Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org> Cc: Guenter Roeck <gro...@chromium.org> Cc: Alexander Steffen <alexander.stef...@infineon.com> Cc: Heiko Stuebner <he...@sntech.de> Signed-off-by: Stephen Boyd <swb...@chromium.org> --- drivers/char/tpm/tpm_tis_spi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/char/tpm/tpm_tis_spi.c b/drivers/char/tpm/tpm_tis_spi.c index ec703aee7e7d..d1754fd6c573 100644 --- a/drivers/char/tpm/tpm_tis_spi.c +++ b/drivers/char/tpm/tpm_tis_spi.c @@ -283,7 +283,6 @@ MODULE_DEVICE_TABLE(acpi, acpi_tis_spi_match); static struct spi_driver tpm_tis_spi_driver = { .driver = { - .owner = THIS_MODULE, .name = "tpm_tis_spi", .pm = &tpm_tis_pm, .of_match_table = of_match_ptr(of_tis_spi_match), -- Sent by a computer through tubes