]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[media] staging: lirc: clean error handling in probe()
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 26 Jun 2013 13:37:36 +0000 (10:37 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Mon, 29 Jul 2013 13:17:33 +0000 (10:17 -0300)
commit1444fbf268c4dd8c77790ea28bf7560b815c5b28
tree2b7ee008544e2b40d6c7cab598c0cbbee6642baf
parent51dd4d70fc59564454a4dcb90d6d46d39a4a97ef
[media] staging: lirc: clean error handling in probe()

We have reorganized the error handling into a simpler and more canonical
format.
Additionally we removed extra empty lines, switched to devm_kzalloc(), and
substitute 'minor' by 'ret' in the igorplugusb_remote_probe() function.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/staging/media/lirc/lirc_igorplugusb.c