ZTE driver updates for 4.12:
It includes a couple of small cleanups on zx296718 power domain drivers. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAABAgAGBQJY65viAAoJEFBXWFqHsHzOkqAH/ig7pVmp3s0H/4xmY3fKOpk2 R2FGXNSWSLyKt+jkQfTKfsQZmaGadefg6KUzXLuBdE306LZkZssmjLqBEv3LBGYE oC+q29Y8S/qb3g1c+B2fMPO1MSfQWRGKgaKUOdDiFw7lBCBplsv2gzntW8aSSpi1 eNraNzpmaesSVUNPrO4uTwRNmvn9mx00k5H2OJWSnyMtFQzo+FDbpj1ULgMfLeLl j6Jnszsp98STkB3Kzc9XGwO8OlHlsr/nnVvJVWJGiyFhwVTncGwLe9gL3ZqFxRYr SjE4Z28xkHcajQBmYmA0SkNHdtERjKxzjYQo9nYP7/rI3kL5r12+iWU7Q29B0ck= =JWPf -----END PGP SIGNATURE----- Merge tag 'zte-drivers-4.12' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux into next/drivers ZTE driver updates for 4.12: It includes a couple of small cleanups on zx296718 power domain drivers. * tag 'zte-drivers-4.12' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux: soc: zte: pm_domains: Remove .owner field for driver soc: zte: pm_domains: Remove redundant dev_err call in zx2967_pd_probe() Signed-off-by: Olof Johansson <olof@lixom.net>
This commit is contained in:
commit
63466c49cb
@ -169,7 +169,6 @@ static const struct of_device_id zx296718_pm_domain_matches[] = {
|
||||
static struct platform_driver zx296718_pd_driver = {
|
||||
.driver = {
|
||||
.name = "zx296718-powerdomain",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = zx296718_pm_domain_matches,
|
||||
},
|
||||
.probe = zx296718_pd_probe,
|
||||
|
@ -125,10 +125,8 @@ int zx2967_pd_probe(struct platform_device *pdev,
|
||||
|
||||
res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
|
||||
pcubase = devm_ioremap_resource(&pdev->dev, res);
|
||||
if (IS_ERR(pcubase)) {
|
||||
dev_err(&pdev->dev, "ioremap fail.\n");
|
||||
if (IS_ERR(pcubase))
|
||||
return PTR_ERR(pcubase);
|
||||
}
|
||||
|
||||
for (i = 0; i < domain_num; ++i) {
|
||||
zx_pm_domains[i]->power_on = zx2967_power_on;
|
||||
|
Loading…
x
Reference in New Issue
Block a user