Fix wrong API usage in HID-Device 12/139512/1
authorNagaraj D R <nagaraj.dr@samsung.com>
Wed, 19 Jul 2017 07:40:39 +0000 (13:10 +0530)
committerNagaraj D R <nagaraj.dr@samsung.com>
Wed, 19 Jul 2017 07:43:46 +0000 (13:13 +0530)
commitf456d71280affa1134db105154a8f87d885bbe87
treeef60d9dd3f5572ddd41648400f7ac611a700ee54
parent776f322099f0ee0775c2a8ade266fa5b100a5dc0
Fix wrong API usage in HID-Device

Wrongly "find_device()" is used to find the device
connected with HID-Device role.

Replaced "find_device()" with "find_device_role" api call

Change-Id: If6bed298b351e17c0973087d09f0d18726f04308
profiles/input/device.c