Yang Yingliang 5822e8cc84 MIPS: vpe-mt: fix possible memory leak while module exiting
Afer commit 1fa5ae857bb1 ("driver core: get rid of struct device's
bus_id string array"), the name of device is allocated dynamically,
it need be freed when module exiting, call put_device() to give up
reference, so that it can be freed in kobject_cleanup() when the
refcount hit to 0. The vpe_device is static, so remove kfree() from
vpe_device_release().

Fixes: 1fa5ae857bb1 ("driver core: get rid of struct device's bus_id string array")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
2022-11-22 13:09:04 +01:00
..
2021-04-07 16:11:05 +02:00
2021-03-10 15:18:40 +01:00
2022-05-04 22:22:59 +02:00
2022-07-14 11:52:29 +02:00
2022-03-01 10:07:22 +01:00
2018-10-31 08:54:16 -07:00
2022-02-23 13:08:30 +01:00
2022-03-01 10:07:22 +01:00
2022-03-01 10:07:22 +01:00
2022-05-04 22:22:59 +02:00
2022-03-01 10:07:22 +01:00
2021-02-15 12:23:54 +01:00
2022-07-29 18:07:13 -07:00
2022-02-22 09:35:49 +01:00
2022-05-19 19:30:31 +02:00
2022-02-22 09:35:49 +01:00
2022-02-22 09:35:49 +01:00
2022-10-10 12:49:34 -07:00
2022-02-22 09:35:49 +01:00
2022-03-28 17:29:53 -07:00
2020-05-15 14:53:19 +02:00
2021-01-27 21:49:16 +01:00
2020-05-07 11:55:47 +02:00