Add patch not to open the same device file many times.
authorsh.pi <sh.pi@samsung.com>
Wed, 27 Mar 2013 12:39:45 +0000 (21:39 +0900)
committerjy910.yun <jy910.yun@samsung.com>
Thu, 27 Jun 2013 13:01:47 +0000 (22:01 +0900)
commit0844c2565eb0f911bbe27da17974640fb5ae2d8f
treeecab3c75588c7b469b28ddd9cb82fe493b14567f
parent9244f34ad6e45ff3181601b1f8a462b7134d7e9a
Add patch not to open the same device file many times.

There is the error that one input device file is opened many times.
If udev or kernel layer send wrong uevent, deviced can register devices abnomally.
Now deviced(pm) receives uevent and add all input device to internal list.
and check that device file is already registered in list.

Change-Id: I7b97eb4c1fd9890ccc218d428342c5b141a06e39
display/core.c
display/poll.c