From: Levente Kurusa Date: Thu, 19 Dec 2013 15:03:27 +0000 (+0100) Subject: MIPS: IP22: Add missing put_device call X-Git-Tag: omap-for-v3.17/fixes-against-rc2~135^2^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82242d28ff8bd2b3e0230190529c1ff333c766e1;p=pandora-kernel.git MIPS: IP22: Add missing put_device call This is required so that we give up the last reference to the device. Also, create a gio_bus_release() that calls kfree on the device argument to properly kfree() the memory allocated for the device. [ralf@linux-mips.org: Reformat to Linux coding style and make gio_bus_release static.] Signed-off-by: Levente Kurusa Cc: LKML Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/6261/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed