Name

device_rename — renames a device

Synopsis

int device_rename (struct device * dev,
 char * new_name);
 

Arguments

dev

the pointer to the struct device to be renamed

new_name

the new name of the device