- use PTR_ERR_OR_ZERO were relevant in at91_cf
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEXx9Viay1+e7J/aM4AyWl4gNJNJIFAlpJAREACgkQAyWl4gNJ
 NJLwWA/+L3djRY4CkohtblSZfQsON2B6FfffOnlpQUt0GJc3Ygf0ljqIFV3qw6nu
 QmBzF+4FJ3HBcgNOxdHkkHO60h5UIUWwdbEa7e1uS8H69OkxSf4URrmuUPhe+jfI
 nGy8KlgKNll9E00ZUCWgLMtRZMX2ZSIk81aiXlfU336vF6OIrUNFYYECPCwQWru/
 MnW7sBEidBFlHARPov3vnapPp3act2RG1bnW2vIIm8mKfjF+4lKNaAF6mvgodHLG
 NyuQ6xJoLd+MJB07hB6260x8YMI7PhrDb/OJMY6ys0CpEvReI04DUwFwbdbP67ZH
 6cb0kvsjyGFvOiFUCvwbkfU6jFV3f+nOX0Z8P60spUsMLkyem1QeVDSuwsJ4uxCO
 GUeFTON6sBTJry8uUp0UczfIAl7TsBroWNtIVlBSKtnjvSOFlLMf91Mt0qi6Mn/2
 Q/Sz1I70j1x84olKR3+Y0JOPG3x2f4zUK6aH34v/Zxw6aY/W5i/JjELfLE3uptEu
 Qq5bqD6ALBPvKsfA9punYSUu2JvzPA9dT8TQzBol9u+SBNGN8rIaj2o1j3YShIFt
 K5IxeFCLX15Xa1trbci9g9FFKvlZ3qR6uSELWthS798CBAstLfionC9oq2Y0J4F5
 GLvmAW+wP3NCt0pDlwV+izFa3ekC/7AUUsdaHh1gxhkBeHZN77c=
 =axsG
 -----END PGP SIGNATURE-----

Merge tag 'at91-ab-4.16-drivers' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux into next/drivers

drivers for 4.16

 - use PTR_ERR_OR_ZERO were relevant in at91_cf

* tag 'at91-ab-4.16-drivers' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux:
  pcmcia: at91_cf: Use PTR_ERR_OR_ZERO()

Signed-off-by: Olof Johansson <olof@lixom.net>
This commit is contained in:
Olof Johansson 2018-01-04 23:31:40 -08:00
Родитель 11077e9bf7 1203839290
Коммит 57e36159cc
1 изменённых файлов: 1 добавлений и 3 удалений

Просмотреть файл

@ -236,10 +236,8 @@ static int at91_cf_dt_init(struct platform_device *pdev)
pdev->dev.platform_data = board;
mc = syscon_regmap_lookup_by_compatible("atmel,at91rm9200-sdramc");
if (IS_ERR(mc))
return PTR_ERR(mc);
return 0;
return PTR_ERR_OR_ZERO(mc);
}
#else
static int at91_cf_dt_init(struct platform_device *pdev)