diff options
author | Md Sadre Alam <quic_mdalam@quicinc.com> | 2024-11-20 14:45:03 +0530 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2024-12-24 16:22:02 +0100 |
commit | 0c08080fd71cd5dd59643104b39d3c89d793ab3c (patch) | |
tree | bd4181aea2e85059cd99ae402c56c4458bdd9cd5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | fdf3ee5c6e5278dab4f60b998b47ed2d510bf80f (diff) |
mtd: rawnand: qcom: use FIELD_PREP and GENMASK
Use the bitfield macro FIELD_PREP, and GENMASK to
do the shift and mask in one go. This makes the code
more readable.
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Md Sadre Alam <quic_mdalam@quicinc.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions