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

# parport\_unregister\_driver(9)

deregister a parallel port device driver

## NAME

parport\_unregister\_driver - deregister a parallel port device driver

## SYNOPSIS

**void parport\_unregister\_driver(struct parport\_driver \*** *drv***);**

## ARGUMENTS

*drv*

structure describing the driver that was given to **parport\_register\_driver**

## DESCRIPTION

This should be called by a parallel port device driver that has registered itself using **parport\_register\_driver** when it is about to be unloaded.

When it returns, the driver's **attach** routine will no longer be called, and for each port that **attach** was called for, the **detach** routine will have been called.

All the driver's **attach** and **detach** calls are guaranteed to have finished by the time this function returns.

## COPYRIGHT
