powerpc/powernv: 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> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:
parent
48f0f6b717
commit
87630eb1d5
|
@ -434,7 +434,6 @@ static const struct of_device_id opal_prd_match[] = {
|
||||||
static struct platform_driver opal_prd_driver = {
|
static struct platform_driver opal_prd_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "opal-prd",
|
.name = "opal-prd",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = opal_prd_match,
|
.of_match_table = opal_prd_match,
|
||||||
},
|
},
|
||||||
.probe = opal_prd_probe,
|
.probe = opal_prd_probe,
|
||||||
|
|
Loading…
Reference in New Issue