]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
Input: use clamp_val() macro in ff-memless.c
authorHarvey Harrison <harvey.harrison@gmail.com>
Mon, 5 May 2008 15:50:59 +0000 (11:50 -0400)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 16 May 2008 18:49:47 +0000 (14:49 -0400)
commit923104747d5c4d58762aa865f71d48d3beb73ae6
treef9c129f7ef168933d7ced94558ca9db342b5c0f8
parentc6a3ead2ab5d82b549237c52a785b9f736e13463
Input: use clamp_val() macro in ff-memless.c

Replace two opencoded nested min/max macros with clamp_val().

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/ff-memless.c