aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/generate_rust_target.rs
diff options
context:
space:
mode:
authorMd Sadre Alam <[email protected]>2024-11-20 09:15:03 +0000
committerMiquel Raynal <[email protected]>2024-12-24 15:22:02 +0000
commit0c08080fd71cd5dd59643104b39d3c89d793ab3c (patch)
treebd4181aea2e85059cd99ae402c56c4458bdd9cd5 /scripts/generate_rust_target.rs
parentmtd: nand: Add qpic_common API file (diff)
downloadkernel-0c08080fd71cd5dd59643104b39d3c89d793ab3c.tar.gz
kernel-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 <[email protected]> Signed-off-by: Md Sadre Alam <[email protected]> Signed-off-by: Miquel Raynal <[email protected]>
Diffstat (limited to 'scripts/generate_rust_target.rs')
0 files changed, 0 insertions, 0 deletions