commit | c81c9c3e0fd5170e7bede7d06202062338644e93 | [log] [tgz] |
---|---|---|
author | Christian Gromm <christian.gromm@microchip.com> | Mon Sep 28 17:18:44 2015 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Sep 29 03:18:50 2015 +0200 |
tree | 1846f96f7e00468b283a9a6f9342736f9d22c9a6 | |
parent | 26370228875b823b9a90562619c509461f9b91ae [diff] |
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>