---
name: "platform_device_put"
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_put"
---

# platform\_device\_put(9)

destroy a platform device

## NAME

platform\_device\_put - destroy a platform device

## SYNOPSIS

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

## ARGUMENTS

*pdev*

platform device to free

## DESCRIPTION

Free all memory associated with a platform device. This function must \_only\_ be externally called in error cases. All other usage is a bug.

## COPYRIGHT
