of: add devm_ functions for populate and depopulate