kobject_set_name — Set the name of a kobject
int kobject_set_name ( | struct kobject * kobj, |
| const char * fmt, | |
...); |
kobjstruct kobject to set the name of
fmtformat string used to build the name
...variable arguments
This sets the name of the kobject. If you have already added the
kobject to the system, you must call kobject_rename in order to
change the name of the kobject.