mailbox: no need to set .owner platform_driver_register
the platform_driver_register will set the .owner to THIS_MODULE Signed-off-by: Tian Tao <tiantao6@huawei.com> Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
This commit is contained in:
parent
0434d3f452
commit
41c9479903
|
@ -354,7 +354,6 @@ static int hi6220_mbox_probe(struct platform_device *pdev)
|
|||
static struct platform_driver hi6220_mbox_driver = {
|
||||
.driver = {
|
||||
.name = "hi6220-mbox",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = hi6220_mbox_of_match,
|
||||
},
|
||||
.probe = hi6220_mbox_probe,
|
||||
|
|
Loading…
Reference in New Issue