---
name: "pnp_remove_device"
section: "9"
platform: "linux"
package: "linux-manual-2.6.18"
version: "2.6.18.dfsg.1-26etch2"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/pnp_remove_device"
---

# pnp\_remove\_device(9)

removes a pnp device from the pnp layer

## NAME

pnp\_remove\_device - removes a pnp device from the pnp layer

## SYNOPSIS

**void pnp\_remove\_device(struct pnp\_dev \*** *dev***);**

## ARGUMENTS

*dev*

pointer to dev to add

## DESCRIPTION

this function will free all mem used by dev

## COPYRIGHT
