HID: hidraw: open count should not increase if error
authorAmit Nagal <helloin.amit@gmail.com>
Tue, 27 Sep 2011 17:41:58 +0000 (13:41 -0400)
committerJiri Kosina <jkosina@suse.cz>
Tue, 27 Sep 2011 16:42:22 +0000 (18:42 +0200)
In hidraw_open, if hid_hw_power returns with error, hidraw device open count
should not increase.

Signed-off-by: Amit Nagal <helloin.amit@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>

No differences found