[U-Boot] [PATCH v2 39/55] dm: core: Move regmap allocation into a separate function