mfd: madera: Make pinctrl a child devicetree node
authorRichard Fitzgerald <rf@opensource.cirrus.com>
Wed, 28 Feb 2018 12:44:00 +0000 (12:44 +0000)
committer강신형 <s47.kang@samsung.com>
Tue, 19 Jun 2018 07:59:16 +0000 (16:59 +0900)
commit22c09a6ffe6bf63797a1cfe190c88123e4668286
tree9ac7c2f036839859d753ff5557ab506226329525
parent0f7ecfa760460464e1c17c6c33237084939b7cc0
mfd: madera: Make pinctrl a child devicetree node

If the of_node of a pinctrl contains pinctrl-n entries the
pinctrl core will attempt to bind all those entries against
that pinctrl driver even if they refer to other pinctrl
drivers.

To work around this, move our pinctrl driver to be a child
node of our mfd so that its of_node doesn't contain any
pinctrl-n references.

Change-Id: I37138a860edbbee3fedcfc505b23557406d7486e
Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
drivers/mfd/madera-core.c
drivers/pinctrl/cirrus/pinctrl-madera.c