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

sbus: char: drop owner assignment from platform_drivers

A platform_driver does not need to set an owner, it will be populated by the
driver core.

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>

-5
-1
drivers/sbus/char/bbc_i2c.c
··· 413 413 static struct platform_driver bbc_i2c_driver = { 414 414 .driver = { 415 415 .name = "bbc_i2c", 416 - .owner = THIS_MODULE, 417 416 .of_match_table = bbc_i2c_match, 418 417 }, 419 418 .probe = bbc_i2c_probe,
-1
drivers/sbus/char/display7seg.c
··· 263 263 static struct platform_driver d7s_driver = { 264 264 .driver = { 265 265 .name = DRIVER_NAME, 266 - .owner = THIS_MODULE, 267 266 .of_match_table = d7s_match, 268 267 }, 269 268 .probe = d7s_probe,
-1
drivers/sbus/char/envctrl.c
··· 1130 1130 static struct platform_driver envctrl_driver = { 1131 1131 .driver = { 1132 1132 .name = DRIVER_NAME, 1133 - .owner = THIS_MODULE, 1134 1133 .of_match_table = envctrl_match, 1135 1134 }, 1136 1135 .probe = envctrl_probe,
-1
drivers/sbus/char/flash.c
··· 207 207 static struct platform_driver flash_driver = { 208 208 .driver = { 209 209 .name = "flash", 210 - .owner = THIS_MODULE, 211 210 .of_match_table = flash_match, 212 211 }, 213 212 .probe = flash_probe,
-1
drivers/sbus/char/uctrl.c
··· 425 425 static struct platform_driver uctrl_driver = { 426 426 .driver = { 427 427 .name = "uctrl", 428 - .owner = THIS_MODULE, 429 428 .of_match_table = uctrl_match, 430 429 }, 431 430 .probe = uctrl_probe,