ASoC: fsl_asrc: Remove of_device_get_match_data() error check
authorFabio Estevam <festevam@gmail.com>
Mon, 18 Jan 2021 12:38:13 +0000 (09:38 -0300)
committerMark Brown <broonie@kernel.org>
Wed, 20 Jan 2021 18:47:33 +0000 (18:47 +0000)
commit214172a9ca26f77c3d6912f97246dc6ec9b16141
tree6e7c5e3576fec4ca988d588885e5a26afb1da592
parent42450175a3d21d0818976114833d23ca5035e713
ASoC: fsl_asrc: Remove of_device_get_match_data() error check

The only way this driver can be probed is via devicetree, which always
provides driver data.

Remove the unneeded of_device_get_match_data() error check, as it
can never fail.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Link: https://lore.kernel.org/r/20210118123815.1630882-4-festevam@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_asrc.c