]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
HID: intel-ish-hid: use helper function to access client buffer
authorEven Xu <even.xu@intel.com>
Tue, 11 Sep 2018 23:44:16 +0000 (16:44 -0700)
committerJiri Kosina <jkosina@suse.cz>
Mon, 24 Sep 2018 09:20:06 +0000 (11:20 +0200)
commit816e7ed1c85dbb5e477139d6f28ffd175d0a609e
tree11dc50533ba3c8a5df07e4cafd97d2e26c45f9ac
parenta1c40ce62fd24badcd65cd14533386fc382332be
HID: intel-ish-hid: use helper function to access client buffer

ishtp bus driver exposed helper functions for client buffer accessing,
so change to use these functions in ishtp-hid-client driver to avoid
access client buffer directly.

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