/* get_driver - increment driver reference count. @drv: driver.  */
struct device_driver* get_driver(struct device_driver *drv)
/* get_driver - increment driver reference count. @drv: driver.  */
struct device_driver* get_driver(struct device_driver *drv)
{
	if (drv) {
		struct driver_private *priv;
		struct kobject *kobj;
		kobj = kobject_get(&drv->p->kobj);
		priv = to_driver(kobj);
		return priv->driver;
	}
	return NULL;
}