commit | 601fd3a7d849cf8a5dbd3628b3c29af9e5377961 | [log] [tgz] |
---|---|---|
author | Tang Bin <tangbin@cmss.chinamobile.com> | Wed Aug 26 23:09:18 2020 +0800 |
committer | Mark Brown <broonie@kernel.org> | Thu Oct 01 22:26:47 2020 +0100 |
tree | afde0cb247cbc0f656c1894c9cd9d4044d968390 | |
parent | 08dd413b9ddf253ec3ee783a0a21df3754823be9 [diff] |
ASoC: fsl_spdif: Fix unnecessary check in fsl_spdif_probe() The function fsl_spdif_probe() is only called with an openfirmware platform device. Therefore there is no need to check that the passed in device is NULL. Signed-off-by: Zhang Shengju <zhangshengju@cmss.chinamobile.com> Signed-off-by: Tang Bin <tangbin@cmss.chinamobile.com> Link: https://lore.kernel.org/r/20200826150918.16116-1-tangbin@cmss.chinamobile.com Signed-off-by: Mark Brown <broonie@kernel.org>