From: Dan Carpenter Date: Wed, 26 Jun 2013 13:37:36 +0000 (-0300) Subject: [media] staging: lirc: clean error handling in probe() X-Git-Tag: v3.12-rc1~135^2~200 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1444fbf268c4dd8c77790ea28bf7560b815c5b28;p=pandora-kernel.git [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 Signed-off-by: Andy Shevchenko Acked-by: Dan Carpenter Signed-off-by: Dan Carpenter Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed