]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
ASoC: sh: rcar: core: don't open code of_device_get_match_data()
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Tue, 1 Mar 2016 16:39:19 +0000 (17:39 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 2 Mar 2016 11:02:44 +0000 (20:02 +0900)
commit6d8044b4ff305238503edca7d75f3ab7410396ba
tree81a60d200116c9b786e72bacf61fd69c2b8f5ac4
parentb3fc95ad025683180628f6896d1f82d2cf5d0266
ASoC: sh: rcar: core: don't open code of_device_get_match_data()

This change will also make Coverity happy by avoiding a theoretical NULL
pointer dereference; yet another reason is to use the above helper function
to tighten the code and make it more readable.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sh/rcar/core.c