Input: rework psmouse attributes to reduce module size
authorDmitry Torokhov <dtor_core@ameritech.net>
Sun, 4 Sep 2005 06:40:20 +0000 (01:40 -0500)
committerDmitry Torokhov <dtor_core@ameritech.net>
Sun, 4 Sep 2005 06:40:20 +0000 (01:40 -0500)
commitcfe9e88866fe892f4f71bf132c64ec8bd5256e5e
treec1da19c8a2b1f9f1a32597554660747fe0aa5132
parent15c42e5a1f0bccb69508059b8ae0720840068b8e
Input: rework psmouse attributes to reduce module size

Rearrange attribute code to use generic show and set handlers
instead of replicating them for every attribute; switch to
using attribute_group instead of creating all attributes
manually. All this saves about 4K.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/mouse/logips2pp.c
drivers/input/mouse/psmouse-base.c
drivers/input/mouse/psmouse.h
drivers/input/mouse/trackpoint.c