]> Git Repo - J-u-boot.git/commit
syscon: update syscon_node_to_regmap to use the DM functions
authorPatrick Delaunay <[email protected]>
Wed, 31 Oct 2018 15:49:03 +0000 (16:49 +0100)
committerTom Rini <[email protected]>
Sat, 15 Dec 2018 16:49:56 +0000 (11:49 -0500)
commitde5bab9c59807b109f89a39855c9eacfe4d08822
tree918155725e45773124d7b61cb61f6a78e3d8845d
parent74473ed0cf171acaf370b6ab2123b763107d5121
syscon: update syscon_node_to_regmap to use the DM functions

+ Update the function syscon_node_to_regmap() to force bound on
  syscon uclass and directly use the list of device from DM.
+ Remove the static list syscon_list.

This patch avoid issue (crash) when syscon_node_to_regmap() is called
before and after reallocation (list content is invalid).

Signed-off-by: Patrick Delaunay <[email protected]>
drivers/core/syscon-uclass.c
This page took 0.036388 seconds and 4 git commands to generate.