Input: ati_remote2 - add per device attrs
authorVille Syrjala <syrjala@sci.fi>
Fri, 30 Jan 2009 07:42:16 +0000 (23:42 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 30 Jan 2009 07:43:35 +0000 (23:43 -0800)
commitd329e33c7c2bdcd955a00c84a9363cb309cad352
tree0816ceb24200279445f71764464e2b18f4536e7e
parent169bc1efa84680d0a8c9567539f8577fd52e1a77
Input: ati_remote2 - add per device attrs

Add per device channel_mask and mode_mask attributes. They inherit
the values from the module parameters when the device is registered.
One additional benefit is that now runtime changes to channel_mask
can actually affect the hardware channel setup like they should.

Signed-off-by: Ville Syrjala <syrjala@sci.fi>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/misc/ati_remote2.c