tmp_suning_uos_patched/drivers/isdn/gigaset
Tilman Schmidt 4c5e354a97 ser_gigaset: fix deallocation of platform device structure
When shutting down the device, the struct ser_cardstate must not be
kfree()d immediately after the call to platform_device_unregister()
since the embedded struct platform_device is still in use.
Move the kfree() call to the release method instead.

Signed-off-by: Tilman Schmidt <tilman@imap.cc>
Fixes: 2869b23e4b ("drivers/isdn/gigaset: new M101 driver (v2)")
Reported-by: Sasha Levin <sasha.levin@oracle.com>
Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-12-15 13:24:21 -05:00
..
asyncdata.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
bas-gigaset.c isdn/bas_gigaset: use USB API functions rather than constants 2014-08-22 12:23:10 -07:00
capi.c isdn/capi: handle CAPI 2.0 message parser failures 2014-10-14 15:05:35 -04:00
common.c isdn/gigaset: beautify common.c 2013-01-21 17:36:25 -05:00
dummyll.c isdn/gigaset: unify function return values 2012-05-07 22:37:56 -04:00
ev-layer.c isdn/gigaset: restructure modem response parser (4) 2015-03-23 16:47:24 -04:00
gigaset.h isdn/gigaset: drop duplicate declaration 2014-12-10 15:06:09 -05:00
i4l.c isdn/gigaset: unify function return values 2012-05-07 22:37:56 -04:00
interface.c TTY: add tty_port_tty_wakeup helper 2013-03-18 16:19:45 -07:00
isocdata.c isdn/gigaset: unify function return values 2012-05-07 22:37:56 -04:00
Kconfig isdn/gigaset: enable Kernel CAPI support by default 2014-12-10 15:06:10 -05:00
Makefile
proc.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
ser-gigaset.c ser_gigaset: fix deallocation of platform device structure 2015-12-15 13:24:21 -05:00
usb-gigaset.c isdn/gigaset: elliminate unnecessary argument from send_cb() 2014-12-10 15:06:09 -05:00