diff options
author | Nikolaus Schulz <schulz@macnetix.de> | 2012-02-08 18:56:10 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-02-20 12:48:10 -0800 |
commit | eafbec56be4c3cfd8f3b5098a0c5f7397a1e48b0 (patch) | |
tree | c4eebc8cd2d8daf5e04928fe543114538186b407 /include | |
parent | 0eac4fa19d910c7ce80e48b89eaec1f08bc816ef (diff) | |
download | linux-stable-eafbec56be4c3cfd8f3b5098a0c5f7397a1e48b0.tar.gz linux-stable-eafbec56be4c3cfd8f3b5098a0c5f7397a1e48b0.tar.bz2 linux-stable-eafbec56be4c3cfd8f3b5098a0c5f7397a1e48b0.zip |
hwmon: (f75375s) Fix bit shifting in f75375_write16
commit eb2f255b2d360df3f500042a2258dcf2fcbe89a2 upstream.
In order to extract the high byte of the 16-bit word, shift the word to
the right, not to the left.
Signed-off-by: Nikolaus Schulz <mail@microschulz.de>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions