summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2015-11-19 13:00:39 +0900
committerMichael Ellerman <mpe@ellerman.id.au>2015-11-24 14:21:28 +1100
commit87630eb1d5ab76fc39e785294d1930bebcecabcf (patch)
treeb8462aa34e70f3a5691e02e52b16b8d32a4e3d23 /arch/powerpc/platforms
parent48f0f6b717e314a30be121b67e1d044f6d311d66 (diff)
downloadlinux-stable-87630eb1d5ab76fc39e785294d1930bebcecabcf.tar.gz
linux-stable-87630eb1d5ab76fc39e785294d1930bebcecabcf.tar.bz2
linux-stable-87630eb1d5ab76fc39e785294d1930bebcecabcf.zip
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>
Diffstat (limited to 'arch/powerpc/platforms')
-rw-r--r--arch/powerpc/platforms/powernv/opal-prd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/powernv/opal-prd.c b/arch/powerpc/platforms/powernv/opal-prd.c
index 4ece8e40dd54..e315e704cca7 100644
--- a/arch/powerpc/platforms/powernv/opal-prd.c
+++ b/arch/powerpc/platforms/powernv/opal-prd.c
@@ -434,7 +434,6 @@ static const struct of_device_id opal_prd_match[] = {
static struct platform_driver opal_prd_driver = {
.driver = {
.name = "opal-prd",
- .owner = THIS_MODULE,
.of_match_table = opal_prd_match,
},
.probe = opal_prd_probe,