Scroll to navigation

DEVICE_REMOVE_FILE_S(9) Device drivers infrastructure DEVICE_REMOVE_FILE_S(9)

NAME

device_remove_file_self - remove sysfs attribute file from its own method.

SYNOPSIS

bool device_remove_file_self(struct device * dev, const struct device_attribute * attr);

ARGUMENTS

dev

device.

attr

device attribute descriptor.

DESCRIPTION

See kernfs_remove_self for details.

COPYRIGHT

January 2017 Kernel Hackers Manual 4.8.