mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-23 21:19:04 -04:00
| Filename | Latest commit message | Latest commit date |
|---|---|---|
In the error path of fsi_master_register(), we currently use device_unregister(). This will cause the last reference to the structure to be dropped, thus freeing the enclosing structure, which isn't what the callers want. Use device_del() instead so that we return to the caller with a refcount of 1. The caller can then assume that it must use put_device() after a call to fsi_master_register() regardless of whether the latter suceeded or failed. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> |
||
| .. | ||
| fsi-core.c | ||
| fsi-master-gpio.c | ||
| fsi-master-hub.c | ||
| fsi-master.h | ||
| fsi-sbefifo.c | ||
| fsi-scom.c | ||
| Kconfig | ||
| Makefile | ||