diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2015-08-11 07:36:04 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2015-08-11 19:33:05 -0700 |
commit | 2dad338c9c28f464c9717e9d0391997b649e3acd (patch) | |
tree | 7208fd430adec008c6efbec8802d7664a3cc191e /drivers/staging/greybus/hid.c | |
parent | 03490fdbe745a6af23527df32e6ceab4b5749a8f (diff) |
greybus: hid: Drop get_version support
This is done from a common place now, no need to replicate it.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/hid.c')
-rw-r--r-- | drivers/staging/greybus/hid.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/staging/greybus/hid.c b/drivers/staging/greybus/hid.c index 0baed865b760..887dbac8c117 100644 --- a/drivers/staging/greybus/hid.c +++ b/drivers/staging/greybus/hid.c @@ -68,8 +68,6 @@ struct gb_hid_input_report_request { /* Greybus HID device's structure */ struct gb_hid { struct gb_connection *connection; - u8 version_major; - u8 version_minor; struct hid_device *hid; struct gb_hid_desc_response hdesc; @@ -86,9 +84,6 @@ static DEFINE_MUTEX(gb_hid_open_mutex); /* Routines to get controller's information over greybus */ -/* Define get_version() routine */ -define_get_version(gb_hid, HID); - /* Operations performed on greybus */ static int gb_hid_get_desc(struct gb_hid *ghid) { @@ -445,10 +440,6 @@ static int gb_hid_init(struct gb_hid *ghid) struct hid_device *hid = ghid->hid; int ret; - ret = get_version(ghid); - if (ret) - return ret; - ret = gb_hid_get_desc(ghid); if (ret) return ret; |