HID: intel-ish-hid: use helper function to search client id
authorEven Xu <even.xu@intel.com>
Tue, 11 Sep 2018 23:44:18 +0000 (16:44 -0700)
committerJiri Kosina <jkosina@suse.cz>
Mon, 24 Sep 2018 09:20:06 +0000 (11:20 +0200)
commitf26de33faff19bc937311df66278a2d3a1535fff
tree4b444928500d9b8b65923d42ae569d01821f71cf
parente625020b2c1e51a216094d60a6a72596926dd77d
HID: intel-ish-hid: use helper function to search client id

ishtp exposed helper ishtp_fw_cl_get_client() function for client
information searching, so switch to use it.

Signed-off-by: Even Xu <even.xu@intel.com>
Reviewed-by: Andriy Shevchenko <andriy.shevchenko@intel.com>
Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/intel-ish-hid/ishtp-hid-client.c