Skip to content
Commit d095c500 authored by Axel Lin's avatar Axel Lin Committed by Dmitry Torokhov
Browse files

Input: snvs_pwrkey - drop input_free_device call if input_register_device fails



Current code uses devm_input_allocate_device() so don't explicitly call
input_free_device if input_register_device fails.

Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent 9ca5bf50
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment