---
name: "device_remove_file_self"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/device_remove_file_self"
---

# device\_remove\_file\_self(9)

remove sysfs attribute file from its own method.

## 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
