Name

sysfs_remove_dir — remove an object's directory.

Synopsis

void sysfs_remove_dir (struct kobject * kobj);

Arguments

kobj

object.

Description

The only thing special about this is that we remove any files in the directory before we remove the directory, and we've inlined what used to be sysfs_rmdir below, instead of calling separately.