Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

rtc: Drop owner assignment from platform_driver

platform_driver does not need to set an owner because
platform_driver_register() will set it.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>

authored by

Krzysztof Kozlowski and committed by
Alexandre Belloni
045c6fdd b2884543

-1
-1
drivers/rtc/rtc-opal.c
··· 236 236 .id_table = opal_rtc_driver_ids, 237 237 .driver = { 238 238 .name = DRVNAME, 239 - .owner = THIS_MODULE, 240 239 .of_match_table = opal_rtc_match, 241 240 }, 242 241 };