mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-11-07 19:43:52 +00:00
If device_register() returns error, the 'dev' and name needs be freed. Add a release function, and then call put_device() in the error path, so the name is freed in kobject_cleanup() and to the 'dev' is freed in release function. Fixes: |
||
|---|---|---|
| .. | ||
| dio-driver.c | ||
| dio-sysfs.c | ||
| dio.c | ||
| Makefile | ||