[PATCH 11/20] dm: Use an allocated array for run-time device info