Levente Kurusa 82242d28ff 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 <levex@linux.com>
Cc: LKML <linux-kernel@vger.kernel.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/6261/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2014-07-30 13:27:51 +02:00
..
2014-06-26 11:59:01 +05:30
2014-07-13 12:10:18 -07:00
2014-07-08 17:30:59 +01:00
2014-06-12 20:08:47 -07:00
2014-06-04 10:02:38 -07:00
2014-05-01 10:09:47 -07:00
2014-04-18 14:20:36 +02:00
2014-06-04 10:02:38 -07:00
2014-04-18 14:20:43 +02:00