---
name: "platform_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/platform_device_del"
---

# platform\_device\_del(9)

remove a platform-level device

## NAME

platform\_device\_del - remove a platform-level device

## SYNOPSIS

**void platform\_device\_del(struct platform\_device \*** *pdev***);**

## ARGUMENTS

*pdev*

platform device we're removing

## DESCRIPTION

Note that this function will also release all memory- and port-based resources owned by the device (*dev*-\>resource). This function must \_only\_ be externally called in error cases. All other usage is a bug.

## COPYRIGHT
