summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorChanwoo Choi <cw00.choi@samsung.com>2016-12-19 21:02:33 +0900
committerChanwoo Choi <cw00.choi@samsung.com>2017-01-09 10:04:11 +0900
commit01b4c9a1ae07a25d208cad0da7dd288007a22984 (patch)
treeb2ea5327ee32d4b760dc7fefbd4edb36b036a787 /scripts
parentdd3a55fc688b835b25fc73a16f17a75b6059858d (diff)
extcon: Remove potential problem when calling extcon_register_notifier()
This patch removes the potential problem of extcon_register_notifier() when edev parameter is NULL. When edev is NULL, this function returns the first extcon device which includes the sepecific external connector of second paramter. But, it don't guarantee the same operation in all cases. To remove this confusion and potential problem, this patch fixes it. Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions