]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: core: Set fwnode for created devices
authorRobert Hancock <hancock@sedsystems.ca>
Tue, 4 Jun 2019 22:35:43 +0000 (16:35 -0600)
committerLee Jones <lee.jones@linaro.org>
Tue, 2 Jul 2019 11:11:31 +0000 (12:11 +0100)
commitf959c5e86d384d9b1d2ef47c3974e7ae1074a07b
tree5e822a95af2e25a6f84bbefcae3836ab0bd89c31
parentb514c3f32d5ba59d183ee569f5acca56673925b6
mfd: core: Set fwnode for created devices

The logic for setting the of_node on devices created by mfd did not set
the fwnode pointer to match, which caused fwnode-based APIs to
malfunction on these devices since the fwnode pointer was null. Fix
this.

Signed-off-by: Robert Hancock <hancock@sedsystems.ca>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/mfd-core.c