[PATCH 5.15 223/731] regulator: core: use kfree_const() to free space conditionally