mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 14:04:54 +02:00
put_device() needs to be called on failure of device_register()
to give up the reference initialized in it to avoid refcount leak.
Fixes:
|
||
|---|---|---|
| .. | ||
| master | ||
| device.c | ||
| internals.h | ||
| Kconfig | ||
| Makefile | ||
| master.c | ||