class_device_destroy(9)

class_device_destroy9

Removes a class device that was created with class_device_create

Usage

void class_device_destroy(struct class * cls, dev_t devt);

Arguments

cls

the pointer to the struct class that this device was registered * with.

devt

the dev_t of the device that was previously registered.

Overview

This call unregisters and cleans up a class device that was created with a call to class_device_create

From linux-manual-2.6.24 2.6.24-6~etchnhalf.9etch3 in Debian 4.0 (Etch). Parsed by carta from the page's man source.