summaryrefslogtreecommitdiff
path: root/drivers/input/joystick
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2017-01-28 22:01:33 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2017-02-01 21:39:40 +0300
commit5ec69524d43095752510fdcdadc4a6baf50d7c18 (patch)
tree940b85415931aa88c1d346ebae77445f57b22aaf /drivers/input/joystick
parent6ecfe51b4082e7cff12609f97daa052ae04b61fd (diff)
downloadlinux-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