summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/janz-cmodio.c
diff options
context:
space:
mode:
authorCong Ding <dinggnu@gmail.com>2013-10-25 09:25:53 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-10-30 00:36:54 +0100
commit75f0aef6220dc1e73bed238e57b20544ef4f38ec (patch)
tree4e78ce7114059a8ed12f49c0293f12b11aebcb0e /drivers/mfd/janz-cmodio.c
parentmisc/at24: avoid infinite loop on write() (diff)
downloadlinux-75f0aef6220dc1e73bed238e57b20544ef4f38ec.tar.xz
linux-75f0aef6220dc1e73bed238e57b20544ef4f38ec.zip
uio: fix memory leak
we have to call kobject_put() to clean up the kobject after function kobject_init(), kobject_add(), or kobject_uevent() is called. Signed-off-by: Cong Ding <dinggnu@gmail.com> Acked-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/mfd/janz-cmodio.c')
0 files changed, 0 insertions, 0 deletions