USB: serial: cp210x: add 8-bit and 32-bit register access functions
authorKonstantin Shkolnyy <konstantin.shkolnyy@gmail.com>
Sun, 28 Feb 2016 21:51:41 +0000 (15:51 -0600)
committerJohan Hovold <johan@kernel.org>
Mon, 29 Feb 2016 18:04:49 +0000 (19:04 +0100)
commitfe1b07e99ce572a870711d4c989baf031468093b
tree903bfbdad3b8d34d4dd2c696331b78ef7937286d
parent19165b2b10a3b3d18b32a6add465379deade0736
USB: serial: cp210x: add 8-bit and 32-bit register access functions

cp210x_get_config and cp210x_set_config are cumbersome to use. This change
introduces new register access functions for 8 and 32-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