Files
Linux/drivers
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 <[email protected]>
Fixes: 2869b23e4b ("drivers/isdn/gigaset: new M101 driver (v2)")
Reported-by: Sasha Levin <[email protected]>
Signed-off-by: Paul Bolle <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
2015-12-15 13:24:21 -05:00
..
…
…
2015-11-20 01:22:33 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2015-12-15 13:11:05 -05:00
2015-11-08 16:24:43 -05:00
2015-11-10 16:32:11 -08:00
…
…
…
…
…
…
…
…
…
…
…
…
2015-11-20 16:19:54 -08:00
…
…
…
…
…
…