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

Staging: hv: Remove unnecessary function pointers in driver_context

Get rid of the unnecessary function pointers for probe(),
remove() and shutdown() from struct driver_context.
Signed-off-by: default avatarK. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: default avatarAbhishek Kane <v-abkane@microsoft.com>
Signed-off-by: default avatarHaiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: default avatarHank Janssen <hjanssen@microsoft.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 38fadc3e
......@@ -33,14 +33,6 @@ struct driver_context {
struct device_driver driver;
/*
* Use these methods instead of the struct device_driver so 2.6 kernel
* stops complaining
* TODO - fix this!
*/
int (*probe)(struct device *);
int (*remove)(struct device *);
void (*shutdown)(struct device *);
};
struct vm_device {
......
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