---
name: "platform_device_unregister"
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_unregister"
---

# platform\_device\_unregister(9)

unregister a platform-level device

## NAME

platform\_device\_unregister - unregister a platform-level device

## SYNOPSIS

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

## ARGUMENTS

*pdev*

platform device we're unregistering

## DESCRIPTION

Unregistration is done in 2 steps. First we release all resources and remove it from the subsystem, then we drop reference count by calling **platform\_device\_put**.

## COPYRIGHT
