1. NAME▲

get_device - increment reference count for device.

2. SYNOPSIS ▲

struct device * get_device(struct device *  dev );

3. ARGUMENTS ▲

dev
    device.

4. DESCRIPTION ▲

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.

5. COPYRIGHT ▲