From: Levente Kurusa Date: Thu, 19 Dec 2013 15:03:26 +0000 (+0100) Subject: MIPS: TXx9: 7segled: add missing put_device call X-Git-Tag: omap-for-v3.17/fixes-against-rc2~135^2^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f0a7a2d042807d08e5bcfd3194e74b16810c4def;p=pandora-kernel.git MIPS: TXx9: 7segled: add missing put_device call This is required so that we give up the last reference to the device. Also, add a new tx_7segled_release function which will be called after the put_device to ensure that device is kfree'd. [ralf@linux-mips.org: Reformat to Linux coding style and make tx_7segled_release static.] Signed-off-by: Levente Kurusa Cc: LKML Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/6260/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed