OSDN Git Service

pinctrl: single: use of_device_get_match_data() to get soc data
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 20 May 2017 16:02:17 +0000 (01:02 +0900)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 29 May 2017 08:18:46 +0000 (10:18 +0200)
commit1a8764f45c634b4b9e2aed80a93a40771c84a11a
treecf19e1cdf8f90cee1833249fe94595d84d471c9f
parent80fbc2d9b3e9796133470069fa1a10fe2a755a7a
pinctrl: single: use of_device_get_match_data() to get soc data

Use of_device_get_match_data() instead of of_match_device().
It allows us to remove the forward declaration of pcs_of_match.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-single.c