ASoC: soc-core: Use IS_ERR_OR_NULL()
authorFabio Estevam <festevam@gmail.com>
Mon, 7 Aug 2017 12:08:53 +0000 (09:08 -0300)
committerMark Brown <broonie@kernel.org>
Mon, 7 Aug 2017 15:47:24 +0000 (16:47 +0100)
commitd9a02c552cd69c466998e3afdf420cb4c0b9d9d9
tree9289218c61791811c1c56283927641ed25586603
parent353c64dd19ebc99786c3578ea0444e1b5b1bb172
ASoC: soc-core: Use IS_ERR_OR_NULL()

The check of IS_ERR or NULL pointer can be replaced by IS_ERR_OR_NULL(),
which helps readability.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-core.c