HID: intel-ish-hid: Move functions related to bus and device
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Mon, 18 Mar 2019 19:14:26 +0000 (12:14 -0700)
committerJiri Kosina <jkosina@suse.cz>
Tue, 19 Mar 2019 10:57:23 +0000 (11:57 +0100)
commit5f7224cf418511b9d3c40d35b098d15f9e4e7404
treebe098e7a2d10ee9a84bc1b0063be0cfeee021bac
parent51cbc7079ecae545be93c137edeb7453d28b9ec9
HID: intel-ish-hid: Move functions related to bus and device

Move function idefinitions related to bus and device to common header file.
Also create new function to get fw client id and move ish_hw_reset() from
inline to exported function.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/intel-ish-hid/ishtp/bus.c
drivers/hid/intel-ish-hid/ishtp/bus.h
drivers/hid/intel-ish-hid/ishtp/ishtp-dev.h
include/linux/intel-ish-client-if.h