From: K. Y. Srinivasan Date: Tue, 10 May 2011 14:55:10 +0000 (-0700) Subject: Staging: hv: Get rid of dev_add from struct hv_driver X-Git-Tag: v3.0-rc1~336^2~350 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=dc9cf30a96d7546188955e3fd5a11055710f49e8;p=karo-tx-linux.git Staging: hv: Get rid of dev_add from struct hv_driver Now that we have gotten rid of the indirection, get rid of the unnecessary state struct hv_driver. Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Abhishek Kane Signed-off-by: Hank Janssen Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/hv/vmbus_api.h b/drivers/staging/hv/vmbus_api.h index 50fbeb53f244..b1a7e883361b 100644 --- a/drivers/staging/hv/vmbus_api.h +++ b/drivers/staging/hv/vmbus_api.h @@ -96,7 +96,6 @@ struct hv_driver { struct device_driver driver; - int (*dev_add)(struct hv_device *device, void *data); int (*dev_rm)(struct hv_device *device); void (*cleanup)(struct hv_driver *driver);