Skip to content
Snippets Groups Projects
Commit 39b85380 authored by Devin Kim's avatar Devin Kim
Browse files

charger-dock: Change the order of the registration to avoid NPE


NPE will occur if calling switch_set_state() in dock_external_power_changed()
before the registration of swtich driver

Bug: 31085909
Change-Id: Iaea1c40d0ff73967dce2b66e5f7ca61b79c658bb
Signed-off-by: default avatarDevin Kim <dojip.kim@lge.com>
parent 10c11013
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment