HID: i2c-hid: remove custom locking from i2c_hid_open/close
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 7 Jun 2017 06:59:35 +0000 (23:59 -0700)
committerJiri Kosina <jkosina@suse.cz>
Thu, 8 Jun 2017 11:56:09 +0000 (13:56 +0200)
commit85ae91133152c8c5e214303b8e26cfcbb91dfeb9
tree24d6aac8f3506288f53d1f60dfc6d320decb310d
parentaaac082dac0a8ac6b00509c7ae2fa8280f966652
HID: i2c-hid: remove custom locking from i2c_hid_open/close

Now that HID core enforces serialization of transport driver open/close
calls we can remove custom locking from i2c-hid driver.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/i2c-hid/i2c-hid.c