commit | 939ffb1712890ee22146d2dfc24adbc7da6afa84 | [log] [tgz] |
---|---|---|
author | Aniroop Mathur <aniroop.mathur@gmail.com> | Wed Dec 03 14:27:42 2014 -0800 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Wed Dec 03 15:27:17 2014 -0800 |
tree | 32f55ccf440835f0c929b6c7b173ffd87e18f2c6 | |
parent | 9c7d66fa9bb21ef89c6acdd0cf536eb84e760d8b [diff] |
Input: initialize device counter variables with -1 Let's initialize atomic_t variables keeping track of number of various devices created so far with -1 in order to avoid extra subtraction operation. Signed-off-by: Aniroop Mathur <aniroop.mathur@gmail.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>