]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/tiny/repaper: No need to set ->owner for spi_register_driver()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 31 Jan 2020 20:49:24 +0000 (22:49 +0200)
committerSam Ravnborg <sam@ravnborg.org>
Mon, 10 Feb 2020 01:54:46 +0000 (02:54 +0100)
The spi_register_driver() will set the ->owner member to THIS_MODULE.

Cc: Noralf Trønnes <noralf@tronnes.org>
Cc: dri-devel@lists.freedesktop.org
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: David Lechner <david@lechnology.com>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200131204923.48928-2-andriy.shevchenko@linux.intel.com
drivers/gpu/drm/tiny/repaper.c

index 788347900d1ea43c257c86b01924fe9a306c8064..f5ebcaf7ee3a0631e1e6a882bb9e2fb3211d65b0 100644 (file)
@@ -1189,7 +1189,6 @@ static void repaper_shutdown(struct spi_device *spi)
 static struct spi_driver repaper_spi_driver = {
        .driver = {
                .name = "repaper",
-               .owner = THIS_MODULE,
                .of_match_table = repaper_of_match,
        },
        .id_table = repaper_id,