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>
static struct platform_driver hi6220_mbox_driver = {
.driver = {
.name = "hi6220-mbox",
static struct platform_driver hi6220_mbox_driver = {
.driver = {
.name = "hi6220-mbox",
.of_match_table = hi6220_mbox_of_match,
},
.probe = hi6220_mbox_probe,
.of_match_table = hi6220_mbox_of_match,
},
.probe = hi6220_mbox_probe,