regmap: clean up regmap allocation