diff options
author | 2024-11-20 14:45:03 +0530 | |
---|---|---|
committer | 2024-12-24 16:22:02 +0100 | |
commit | 0c08080fd71cd5dd59643104b39d3c89d793ab3c (patch) | |
tree | bd4181aea2e85059cd99ae402c56c4458bdd9cd5 /scripts/gdb/linux/utils.py | |
parent | mtd: nand: Add qpic_common API file (diff) | |
download | wireguard-linux-0c08080fd71cd5dd59643104b39d3c89d793ab3c.tar.xz wireguard-linux-0c08080fd71cd5dd59643104b39d3c89d793ab3c.zip |
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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions