device_unregister(9) suse man page | unix.com

Man Page: device_unregister

Operating Environment: suse

Section: 9

DEVICE_UNREGISTER(9)					   Device drivers infrastructure				      DEVICE_UNREGISTER(9)

NAME
device_unregister - unregister device from system.
SYNOPSIS
void device_unregister(struct device * dev);
ARGUMENTS
dev device going away.
DESCRIPTION
We do this in two parts, like we do device_register. First, we remove it from all the subsystems with device_del, then we decrement the reference count via put_device. If that is the final reference count, the device will be cleaned up via device_release above. Otherwise, the structure will stick around until the final reference to the device is dropped.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 DEVICE_UNREGISTER(9)
Related Man Pages
device_create(9) - centos
device_create_with_groups(9) - centos
struct_class(9) - centos
device_create_vargs(9) - suse
struct_input_polled_dev(9) - suse
Similar Topics in the Unix Linux Community
Flash disk problem