aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorKuninori Morimoto <[email protected]>2024-09-09 04:42:45 +0000
committerAndi Shyti <[email protected]>2024-09-10 00:36:49 +0200
commit1bae7589228fd942d8133c0a8660078ba421203d (patch)
tree5585d91235e3faea4ebd3668948d26f69b790faf /scripts/generate_rust_analyzer.py
parentc9e8f5a553d05fcbb2bfa7635581ebcbcd2b234a (diff)
i2c: rcar: tidyup priv->devtype handling on rcar_i2c_probe()
rcar_i2c_probe() has priv->devtype operation, but handling (A) and (C) in same place is more understandable ( (A) and (B) are independent). (A) if (priv->devtype < I2C_RCAR_GEN3) { ... } (B) ... (C) if (priv->devtype >= I2C_RCAR_GEN3) { ... } Let's merge it with if-else Signed-off-by: Kuninori Morimoto <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Reviewed-by: Wolfram Sang <[email protected]> Signed-off-by: Andi Shyti <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions