staging: most: consolidate code
authorChristian Gromm <christian.gromm@microchip.com>
Mon, 28 Sep 2015 15:18:44 +0000 (17:18 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 01:18:50 +0000 (03:18 +0200)
commitc81c9c3e0fd5170e7bede7d06202062338644e93
tree1846f96f7e00468b283a9a6f9342736f9d22c9a6
parent26370228875b823b9a90562619c509461f9b91ae
staging: most: consolidate code

The function drci_rd_reg() always delivers little endian representation of
the 16-bit DCI register. The value returned by this function must always be
carefully converted from __le16 to u16 type. This patch moves all those
conversions to the function itself.

Signed-off-by: Andrey Shvetsov <andrey.shvetsov@k2l.de>
Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/hdm-usb/hdm_usb.c