mirror of
https://github.com/torvalds/linux.git
synced 2026-11-25 16:02:57 +00:00
Handle a failed device_register(), replace kfree() with put_device(), which will call cosm/mbus/scif_release_dev(). Signed-off-by: Geliang Tang <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>