summaryrefslogtreecommitdiffstats
path: root/drivers/char/mwave
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2010-07-05 15:29:00 +0800
committerMatthew Garrett <mjg@redhat.com>2010-08-03 09:49:11 -0400
commit45036ae14a0161e9a0f542b6cb7ed55790f73f5b (patch)
tree2228815a681ea456aef485ec06a0b081f17e4a3c /drivers/char/mwave
parent8700e1612e19f752be507f7fdcd8b48ba1b425ee (diff)
downloadblackbird-op-linux-45036ae14a0161e9a0f542b6cb7ed55790f73f5b.tar.gz
blackbird-op-linux-45036ae14a0161e9a0f542b6cb7ed55790f73f5b.zip
asus-laptop: fix asus_input_init error path
This patch includes below fixes: 1. return -ENOMEM instead of 0 if input_allocate_device fail. 2. fix wrong goto if sparse_keymap_setup fail. 3. fix wrong goto if input_register_device fail. Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'drivers/char/mwave')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud