diff options
author | Michael Walle <michael@walle.cc> | 2022-02-23 14:43:57 +0100 |
---|---|---|
committer | Tudor Ambarus <tudor.ambarus@microchip.com> | 2022-02-25 18:13:13 +0200 |
commit | e9d663a2a0193c82e4b4ffe066317ce16fc345e8 (patch) | |
tree | 4ef1f418070e5b27d6734739bd0ab8b2571fdb0a /drivers/i2c/busses | |
parent | e8fd3b4b266b44df207af253d0c8de68c5a09ca9 (diff) |
mtd: spi-nor: slightly change code style in spi_nor_sr_ready()
Now that there is almost no special case code left in
spi_nor_sr_ready(), the return check looks odd. Move the function call
closer to the return code checking.
Signed-off-by: Michael Walle <michael@walle.cc>
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Reviewed-by: Pratyush Yadav <p.yadav@ti.com>
Link: https://lore.kernel.org/r/20220223134358.1914798-32-michael@walle.cc
Diffstat (limited to 'drivers/i2c/busses')
0 files changed, 0 insertions, 0 deletions