get_device — increment reference count for device.
struct device * get_device (
)
dev
device.
This simply forwards the call to kobject_get, though we do take care to provide for the case that we get a NULL pointer passed in.
kobject_get