Input: psmouse - use IS_ENABLED instead of homegrown code
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 29 Dec 2014 20:06:38 +0000 (12:06 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 16 Feb 2015 00:08:35 +0000 (16:08 -0800)
commit290b799c390d77d27effee3ce312203aaa32ee74
treea9dcf0b1fdc9e1aacff90afb5b3ab79983115dcc
parent97ae2b5c17d6cc988c6d49ae0cf95befb6b7081c
Input: psmouse - use IS_ENABLED instead of homegrown code

Instead of having various protocols provide <protocol>_supported()
functions, let's use IS_ENABLED() macro that works well in "if" statements.

Acked-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/cypress_ps2.c
drivers/input/mouse/cypress_ps2.h
drivers/input/mouse/focaltech.c
drivers/input/mouse/focaltech.h
drivers/input/mouse/psmouse-base.c
drivers/input/mouse/synaptics.c
drivers/input/mouse/synaptics.h