{
int i, is_last;
struct udevice *child;
- char class_name[12];
/* print the first 11 characters to not break the tree-format. */
- strlcpy(class_name, dev->uclass->uc_drv->name, sizeof(class_name));
- printf(" %-11s [ %c ] ", class_name,
+ printf(" %-10.10s [ %c ] ", dev->uclass->uc_drv->name,
dev->flags & DM_FLAG_ACTIVATED ? '+' : ' ');
for (i = depth; i >= 0; i--) {
root = dm_root();
if (root) {
- printf(" Class Probed Name\n");
+ printf(" Class Probed Name\n");
printf("----------------------------------------\n");
show_devices(root, -1, 0);
}