SOC: Keystone driver update for v5.13

Couple of cleanup fixes in PM AVS and WKUP M3 drivers
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABAgAGBQJgxZ4OAAoJEHJsHOdBp5c/AwAQALsroOvLBR34X3RG+x7zN7Rf
 /jT/dUhFCqA1UcNz1eoyYSxisjq7N+qKYdwDcth/4JwBjpusiYKLBkejEt6EyNE2
 cRfwRsFYmiEvYMcCsKqX6OeopOdhgXk+8YvJFAzSU/SYwaf2whWtbJruSOrgsQZ/
 9AUGevwWMuIhEtZLpzePkviuV7F1OcVLKsV421KqrW947zdgCofbIxdqeZ75dKmv
 qHuKFK9PdN154l+SjrWRrQu1aMrfmKyg+7sh9VcxN0filXMnZl2RILSfd+fJSufA
 hco5gtwZbMDyF+9b4cYJ06jOpBp2V80i5VrmPSCov1RhXSF9+Ovl7ypZmXVuhUq0
 NfENO5N3P2dyWVWiRLL0Wb0Z0M08mTQ1ieo3MJj7fXaKkL2XBjCVSlmL2nfjsS8c
 EkA2kY7Hdbh63cWwebG49wwxe4DsD9HBn0VcewSn21qU2tuASr5WuVhWMiOmPG0z
 fUxLBxKqHLz8jgWc3nDRQ0vmBEwMPgBOFCtqG9Pe0CvR7q7GJVn1rm7llLBss8Ve
 3Ova1ixTU8cglUxXXp6VUHbdaKcMev4OViG4N7ZMylnOEu97A0uMjNd/AujVDbWc
 94heFVmRL5ApTYv2No5pzH05GCByfoSHf/nnEU6KJRwwosEHLdL2bkDcNObj2SxO
 GWuN23U2wtX2Qny5TfoK
 =VyJN
 -----END PGP SIGNATURE-----

Merge tag 'drivers_soc_for_5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/ssantosh/linux-keystone into arm/drivers

SOC: Keystone driver update for v5.13

Couple of cleanup fixes in PM AVS and WKUP M3 drivers

* tag 'drivers_soc_for_5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/ssantosh/linux-keystone:
  soc: ti: wkup_m3_ipc: Remove redundant error printing in wkup_m3_ipc_probe()
  PM: AVS: remove redundant dev_err call in omap_sr_probe()

Link: https://lore.kernel.org/r/1623564105-10273-1-git-send-email-santosh.shilimkar@oracle.com
Signed-off-by: Olof Johansson <olof@lixom.net>
This commit is contained in:
Olof Johansson 2021-06-15 08:08:46 -07:00
commit eac7b3b758
2 changed files with 2 additions and 6 deletions

View File

@ -846,10 +846,8 @@ static int omap_sr_probe(struct platform_device *pdev)
mem = platform_get_resource(pdev, IORESOURCE_MEM, 0);
sr_info->base = devm_ioremap_resource(&pdev->dev, mem);
if (IS_ERR(sr_info->base)) {
dev_err(&pdev->dev, "%s: ioremap fail\n", __func__);
if (IS_ERR(sr_info->base))
return PTR_ERR(sr_info->base);
}
irq = platform_get_resource(pdev, IORESOURCE_IRQ, 0);

View File

@ -445,10 +445,8 @@ static int wkup_m3_ipc_probe(struct platform_device *pdev)
res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
m3_ipc->ipc_mem_base = devm_ioremap_resource(dev, res);
if (IS_ERR(m3_ipc->ipc_mem_base)) {
dev_err(dev, "could not ioremap ipc_mem\n");
if (IS_ERR(m3_ipc->ipc_mem_base))
return PTR_ERR(m3_ipc->ipc_mem_base);
}
irq = platform_get_irq(pdev, 0);
if (!irq) {