Reference

class_device_destroy(9)

removes a class device that was created with class_device_create

NAME

class_device_destroy - removes a class device that was created with class_device_create

SYNOPSIS

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.

DESCRIPTION

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

COPYRIGHT