From: Levente Kurusa Date: Thu, 19 Dec 2013 15:03:25 +0000 (+0100) Subject: MIPS: TXx9: Add missing put_device call X-Git-Tag: omap-for-v3.17/fixes-against-rc2~135^2^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1610c8a8f2d3eb5dac5a418356c179d28da4e74e;p=pandora-kernel.git MIPS: TXx9: Add missing put_device call This is required so that we give up the last reference to the device. Also, rework error path so that it is easier to read. [ralf@linux-mips.org: Reformat to Linux coding style and make txx9_device_release static; folded in build fix by Levente for the original patch.] Signed-off-by: Levente Kurusa Cc: LKML Cc: Aaro Koskinen Cc: Markos Chandras Cc: Steven J. Hill Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/6259/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed