kobject_get_path — generate and return the path associated with a given kobj and kset pair.
kobject in question, with which to build the path
the allocation type used to allocate the path
The result must be freed by the caller with kfree.
The result must be freed by the caller with kfree.