pinctrl-sx150x: Improve OF device matching code
authorAndrey Smirnov <andrew.smirnov@gmail.com>
Mon, 7 Nov 2016 16:53:09 +0000 (08:53 -0800)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 8 Nov 2016 08:33:31 +0000 (09:33 +0100)
commite3ba812068117180f4dde11cc30f8bc5f83250ae
treebdf26dec234b861e1b24e87f0619c1695eff99cb
parent465e42180cd1065039c09df337efd0a58f007c50
pinctrl-sx150x: Improve OF device matching code

Add proper device specific information to of_device_id table of the
driver and add code to match against and fetch said data from it.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-sx150x.c