USB: serial: cp210x: add new access functions for large registers
authorKonstantin Shkolnyy <konstantin.shkolnyy@gmail.com>
Sun, 28 Feb 2016 21:51:56 +0000 (15:51 -0600)
committerJohan Hovold <johan@kernel.org>
Mon, 29 Feb 2016 18:04:49 +0000 (19:04 +0100)
commit7084fa868b509646fa30773d5d3ef4f26a62eb6f
tree9743edcb9c48bedbaa6237a0a442247262dc9ac1
parentfe1b07e99ce572a870711d4c989baf031468093b
USB: serial: cp210x: add new access functions for large registers

cp210x_get_config and cp210x_set_config are cumbersome to use. This change
switches large register access to use new block functions. The old
functions are removed because now they become unused.

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