PCI: mediatek: Remove the redundant dev->pm_domain check
authorHonghui Zhang <honghui.zhang@mediatek.com>
Mon, 15 Oct 2018 08:08:54 +0000 (16:08 +0800)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Wed, 17 Oct 2018 14:35:34 +0000 (15:35 +0100)
commit88c0e230bb4a79680ee5f05ddba879d436f98f13
tree7fc7118c5f42eedcbb8f1f5bfc3533ca6ea140eb
parenta7f172ab6a8e755e60311f27512034b0441ef421
PCI: mediatek: Remove the redundant dev->pm_domain check

There is no need to check whether device have a PM domain attached before
calling the PM runtime methods. Remove it.

Signed-off-by: Honghui Zhang <honghui.zhang@mediatek.com>
[lorenzo.pieralisi@arm.com: commit log changes]
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Ryder Lee <ryder.lee@mediatek.com>
drivers/pci/controller/pcie-mediatek.c