From: Maciej W. Rozycki Date: Sun, 6 Apr 2014 19:52:37 +0000 (+0100) Subject: TC: Error handling clean-ups X-Git-Tag: omap-for-v3.20/drop-legacy-3517~119^2~60 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e2afb7de6e7dad21f9d709f80f23bbd3c5bdad11;p=pandora-kernel.git 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 Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/6701/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed