Skip to content

Commit 1525c20

Browse files
andy-shevsravnborg
authored andcommitted
drm/tiny/st7735r: No need to set ->owner for spi_register_driver()
The spi_register_driver() will set the ->owner member to THIS_MODULE. Cc: Noralf Trønnes <[email protected]> Cc: [email protected] Cc: David Airlie <[email protected]> Cc: Daniel Vetter <[email protected]> Cc: Sam Ravnborg <[email protected]> Signed-off-by: Andy Shevchenko <[email protected]> Reviewed-by: David Lechner <[email protected]> Signed-off-by: Sam Ravnborg <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 5703d6a commit 1525c20

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/gpu/drm/tiny/st7735r.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,6 @@ static void st7735r_shutdown(struct spi_device *spi)
276276
static struct spi_driver st7735r_spi_driver = {
277277
.driver = {
278278
.name = "st7735r",
279-
.owner = THIS_MODULE,
280279
.of_match_table = st7735r_of_match,
281280
},
282281
.id_table = st7735r_id,

0 commit comments

Comments
 (0)