Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7e87edc3 authored by Aniroop Mathur's avatar Aniroop Mathur Committed by Rom Lemarchand
Browse files

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.

Change-Id: I58bfb094ec24e4b4cab48b3318852a27a227dc9a
Signed-off-by: default avatarAniroop Mathur <aniroop.mathur@gmail.com>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: default avatarTim Clark <tim.clark.82@gmail.com>
parent 44b0d57d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment