mirror of https://github.com/torvalds/linux.git
If device_register() fails, device_unregister() should not be called
because it will free some resources that are not allocated.
put_device() should be used instead.
Fixes:
|
||
|---|---|---|
| .. | ||
| Documentation | ||
| anybuss | ||
| Kconfig | ||
| Makefile | ||
| TODO | ||
| dev_core.c | ||
| fieldbus_dev.h | ||