[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)
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>

No differences found