HID: intel-ish-hid: ipc: change timed_wait_for_timeout() to be a function
authorEven Xu <even.xu@intel.com>
Fri, 11 Nov 2016 01:40:23 +0000 (09:40 +0800)
committerJiri Kosina <jkosina@suse.cz>
Wed, 16 Nov 2016 10:42:39 +0000 (11:42 +0100)
commit7ede704d746e7c02219cdd44abe22c0b606e70db
tree7ebe9ae99814988b35b31dc93c3b97e93d9e14df
parentfa39baa9700c86a73b2203eab92dbba7eb2d4d69
HID: intel-ish-hid: ipc: change timed_wait_for_timeout() to be a function

The macro timed_wait_for_timeout() only be used in one function, so move
this marco from header file and change it to a function in ipc.c, where
it is used.

Signed-off-by: Even Xu <even.xu@intel.com>
Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/intel-ish-hid/ipc/ipc.c
drivers/hid/intel-ish-hid/ipc/utils.h [deleted file]