Input: mousedev - correct lockdep annotation
authorHitoshi Mitake <mitake@dcl.info.waseda.ac.jp>
Wed, 13 Oct 2010 18:35:40 +0000 (11:35 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 18 Oct 2010 04:11:36 +0000 (21:11 -0700)
commitf74eef95e33a07379aa2b950c7f313cbfd55ebbe
treebe9f959dc8ec4053ec6161e3c9049de91c474239
parent2991a1ca6e9b13b639a82c0eec0cbc191bf1f42f
Input: mousedev - correct lockdep annotation

When annotating mutex to avoid false lockdep reports we should not
be using MOUSEDEV_MIX as lock subclass but rather SINGLE_DEPTH_NESTING.

Signed-off-by: Hitoshi Mitake <mitake@dcl.info.waseda.ac.jp>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/mousedev.c