Input: ati_remote2 - return the error code from sysfs channel_mask store
authorVille Syrjala <syrjala@sci.fi>
Thu, 5 May 2011 03:54:27 +0000 (20:54 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 5 May 2011 15:49:38 +0000 (08:49 -0700)
commit7388754e0399d341e6d02fc7394b3727cad57371
treece88890327cbc0364840cfd46fb74bdadb3905e2
parent9cc7c80b57c66d08e67f297169783d1f07288066
Input: ati_remote2 - return the error code from sysfs channel_mask store

If the channel_mask setup fails when configuring it through sysfs,
return the error code to the caller instead of claiming success.

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