summaryrefslogtreecommitdiffstats
path: root/drivers/input/apm-power.c
diff options
context:
space:
mode:
authorDavidlohr Bueso <dave@gnu.org>2010-09-29 18:53:35 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2010-10-13 07:49:23 -0700
commit6792cbbb254712a8c0fa8a4c97c8d521c7c41c28 (patch)
tree3ab25c521042133a27f9875ad1d366e4b44ad68f /drivers/input/apm-power.c
parent7aed3fb73f4ac7912ce9e0c232a15ee012bf4be5 (diff)
downloadop-kernel-dev-6792cbbb254712a8c0fa8a4c97c8d521c7c41c28.zip
op-kernel-dev-6792cbbb254712a8c0fa8a4c97c8d521c7c41c28.tar.gz
Input: return -ENOMEM in select drivers when memory allocation fails
Instead of using -1 let's start using proper error codes. Signed-off-by: Davidlohr Bueso <dave@gnu.org> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/apm-power.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud