---
name: "device_del"
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_del"
---

# device\_del(9)

delete device from system.

## NAME

device\_del - delete device from system.

## SYNOPSIS

**void device\_del(struct device \*** *dev***);**

## ARGUMENTS

*dev*

device.

## DESCRIPTION

This is the first part of the device unregistration sequence. This removes the device from the lists we control from here, has it removed from the other driver model subsystems it was added to in **device\_add**, and removes it from the kobject hierarchy.

## NOTE

this should be called manually \_iff\_ **device\_add** was also called manually.

## COPYRIGHT
