]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/usb/serial/cp210x.c
USB: serial: cp210x: add 16-bit register access functions
authorKonstantin Shkolnyy <konstantin.shkolnyy@gmail.com>
Sun, 28 Feb 2016 21:51:30 +0000 (15:51 -0600)
committerJohan Hovold <johan@kernel.org>
Mon, 29 Feb 2016 18:04:49 +0000 (19:04 +0100)
commit19165b2b10a3b3d18b32a6add465379deade0736
tree77c1a9388726f3182118d597e82eff4860f0ce20
parent6424839ca194cf2497d2dfabf3586adf256f6754
USB: serial: cp210x: add 16-bit register access functions

cp210x_get_config and cp210x_set_config are cumbersome to use. This change
introduces new register access functions for 16-bit values, instead of
the above functions.

Signed-off-by: Konstantin Shkolnyy <konstantin.shkolnyy@gmail.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/cp210x.c