extcon: Do not invoke the update() if the status is the same as before 39/37739/3
authorJiyoung Yun <jy910.yun@samsung.com>
Fri, 3 Apr 2015 07:35:14 +0000 (16:35 +0900)
committerJiyoung Yun <jy910.yun@samsung.com>
Tue, 7 Apr 2015 02:23:35 +0000 (19:23 -0700)
commit0a409a7bce9c77cced95c8cb7e3883905b761f31
tree086e6c44b92107be191451903ff6c0a8ed51bf98
parented4197c4e1cd9be7dc94178a777d3c25bdf862eb
extcon: Do not invoke the update() if the status is the same as before

Do not invoke the update func. if the status is the same as before.
And do not printout error logs for not matched device.
The information of not matched device is already printed out on booting time.
So it's redundant logs.

Change-Id: I8bd2696036bb4633eb05a128d5a9de46dc35fed1
Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
src/extcon/cradle.c
src/extcon/earjack.c
src/extcon/extcon.c
src/extcon/extcon.h
src/extcon/hdmi.c
src/usb/usb.c