aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorMelissa Wen <melissa.srw@gmail.com>2019-06-14 13:32:21 -0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2019-06-17 21:06:48 +0100
commit34b94f9383138acc892f460bfcb9a35581e048fd (patch)
tree1dfe8b71455b51036fb06dc1201eabaad9ae21fe /tools/perf/scripts/python/exported-sql-viewer.py
parentstaging: iio: ad7150: use ternary operating to ensure 0/1 value (diff)
downloadlinux-dev-34b94f9383138acc892f460bfcb9a35581e048fd.tar.xz
linux-dev-34b94f9383138acc892f460bfcb9a35581e048fd.zip
staging: iio: ad7150: use FIELD_GET and GENMASK
Use the bitfield macro FIELD_GET, and GENMASK to do the shift and mask in one go. This makes the code more readable than explicit masking followed by a shift. Signed-off-by: Melissa Wen <melissa.srw@gmail.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions