]> git.baikalelectronics.ru Git - uboot.git/commit
dm: core: Change syscon to use helper function
authorSimon Glass <sjg@chromium.org>
Thu, 6 Feb 2020 16:54:51 +0000 (09:54 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 7 Feb 2020 14:41:24 +0000 (22:41 +0800)
commit4c9b691dd4af89b039a79ad9b13aab031bdc0fe7
tree04b4d57045777a0c3feb75f0171c97fca8861730
parentaeeb398415012a23ebffd47c60ad0e95cb6fb49b
dm: core: Change syscon to use helper function

Now that we have uclass_first_device_drvdata(), use it from syscon to
reduce code duplication.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/core/syscon-uclass.c