mailbox: 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: Krzysztof Kozlowski <k.kozlowski@samsung.com> Acked-by: Lee Jones <lee@kernel.org> Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
This commit is contained in:
parent
4e6b6ee253
commit
63d5e127de
@ -204,7 +204,6 @@ MODULE_DEVICE_TABLE(of, bcm2835_mbox_of_match);
|
|||||||
static struct platform_driver bcm2835_mbox_driver = {
|
static struct platform_driver bcm2835_mbox_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "bcm2835-mbox",
|
.name = "bcm2835-mbox",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = bcm2835_mbox_of_match,
|
.of_match_table = bcm2835_mbox_of_match,
|
||||||
},
|
},
|
||||||
.probe = bcm2835_mbox_probe,
|
.probe = bcm2835_mbox_probe,
|
||||||
|
Loading…
Reference in New Issue
Block a user