input: sensor: re-arrange the error handling procedure
The error handling routine in the previous code may cause
NULL pointer failure if probing error. Fix the issue by
re-arranging the error handling procedure.
Change-Id: I3529e00ccb92160011a622644bc10bedceda1c86
Signed-off-by:
Oliver Wang <mengmeng@codeaurora.org>
Loading
Please register or sign in to comment