diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2017-01-28 22:01:33 +0300 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2017-02-01 21:39:40 +0300 |
commit | 5ec69524d43095752510fdcdadc4a6baf50d7c18 (patch) | |
tree | 940b85415931aa88c1d346ebae77445f57b22aaf /drivers/input/joystick | |
parent | 6ecfe51b4082e7cff12609f97daa052ae04b61fd (diff) | |
download | linux-5ec69524d43095752510fdcdadc4a6baf50d7c18.tar.xz |
Input: joydev - use clamp() macro
We have a nice macro ensuring that the value is within certain range, let's
use it instead of open-coding.
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/joystick')
0 files changed, 0 insertions, 0 deletions