summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-at91rm9200.h
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2013-03-28 13:02:44 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-29 19:41:15 +0400
commit6a48f88b528fef7c4b6ad609111a8acfb5d65335 (patch)
tree58f4551121772dc7fcea13e96428ff4837bcce4d /drivers/rtc/rtc-at91rm9200.h
parent1627ab92b2e6307525f43f775aaeac54407981ef (diff)
downloadlinux-6a48f88b528fef7c4b6ad609111a8acfb5d65335.tar.xz
staging: speakup: use native error codes
The mapping as follows: E_RANGE -> ERANGE E_UNDEF -> ENODATA E_TOOLONG -> E2BIG SET_DEFAULT -> ERESTART As a side effect it fixes a bug in spk_var_store() where return code was mistakenly compared to negative value instead of positive. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by: Samuel Thibault <samuel.thibault@ens-lyon.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/rtc/rtc-at91rm9200.h')
0 files changed, 0 insertions, 0 deletions