If device_register() fails then call put_device(). See comment to device_register. Signed-off-by: Vasiliy Kulikov <segooon@gmail.com> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| gen-devlist.c | ||
| Kconfig | ||
| Makefile | ||
| names.c | ||
| proc.c | ||
| zorro-driver.c | ||
| zorro-sysfs.c | ||
| zorro.c | ||
| zorro.h | ||
| zorro.ids | ||