mirror of
https://github.com/LineageOS/android_kernel_fxtec_sm6115.git
synced 2026-08-23 05:27:56 +00:00
If device_register() returned an error! Always use put_device() to give up the reference initialized in device_register(). Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>