summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/f2fs.h
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@free-electrons.com>2017-12-22 17:14:05 +0100
committerEduardo Valentin <edubezval@gmail.com>2018-01-01 22:15:41 +0100
commit27d92f27ae6c187978eb497fb5f366e7cb807d36 (patch)
tree179d23ab51a8008acc8d0f75a017383a5de5aa07 /fs/f2fs/f2fs.h
parentthermal: armada: Use msleep for long delays (diff)
downloadlinux-27d92f27ae6c187978eb497fb5f366e7cb807d36.tar.xz
linux-27d92f27ae6c187978eb497fb5f366e7cb807d36.zip
thermal: armada: Simplify the check of the validity bit
All Armada SoCs use one bit to declare if the sensor values are valid. This bit moves across the versions of the IP. The method until then was to do both a shift and compare with an useless flag of "0x1". It is clearer and quicker to directly save the value that must be ANDed instead of the bit position and do a single bitwise AND operation. Signed-off-by: Miquel Raynal <miquel.raynal@free-electrons.com> Reviewed-by: Gregory CLEMENT <gregory.clement@free-electrons.com> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'fs/f2fs/f2fs.h')
0 files changed, 0 insertions, 0 deletions