Commit 3d51406d authored by K. Y. Srinivasan's avatar K. Y. Srinivasan Committed by Greg Kroah-Hartman

Staging: hv: Get rid of the priv pointer in struct hv_driver

Now that we have gotten rid of all uses of the priv element in
struct hv_driver, get rid of the priv pointer.
Signed-off-by: default avatarK. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: default avatarHaiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: default avatarAbhishek Kane <v-abkane@microsoft.com>
Signed-off-by: default avatarHank Janssen <hjanssen@microsoft.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent de632a2b
......@@ -94,16 +94,6 @@ struct hv_driver {
/* the device type supported by this driver */
struct hv_guid dev_type;
/*
* Device type specific drivers (net, blk etc.)
* need a mechanism to get a pointer to
* device type specific driver structure given
* a pointer to the base hyperv driver structure.
* The current code solves this problem using
* a hack. Support this need explicitly
*/
void *priv;
struct device_driver driver;
int (*dev_add)(struct hv_device *device, void *data);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment