]> git.baikalelectronics.ru Git - kernel.git/commit
TC: Error handling clean-ups
authorMaciej W. Rozycki <macro@linux-mips.org>
Sun, 6 Apr 2014 19:52:37 +0000 (20:52 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 24 Nov 2014 06:45:25 +0000 (07:45 +0100)
commit007d9c1055bf6d8f9581c072bdcdfe7148874022
tree4f12f7bc3f050cf3a0d889c5ea9c852fbd486af0
parent53c1462f60818abe5a8c7086136e706678f1959b
TC: Error handling clean-ups

Rewrite TURBOchannel error handling to use a common failure path, making
sure put_device is called for devices that failed initialization.  While
at it update printk calls to use pr_err rather than KERN_ERR.

Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/6701/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
drivers/tc/tc.c