diff options
author | 2021-03-22 09:51:31 +0200 | |
---|---|---|
committer | 2021-03-31 22:41:34 +0300 | |
commit | b6cbd9167d442389614c079b7a8816d952114b90 (patch) | |
tree | 044bf6d12f6a364b7494db2adc0492ee111c929f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mtd: spi-nor: Move Software Write Protection logic out of the core (diff) | |
download | wireguard-linux-b6cbd9167d442389614c079b7a8816d952114b90.tar.xz wireguard-linux-b6cbd9167d442389614c079b7a8816d952114b90.zip |
mtd: spi-nor: swp: Improve code around spi_nor_check_lock_status_sr()
- bool return value for spi_nor_check_lock_status_sr(), gets rid of
the return 1,
- introduce temporary variables for better readability.
Suggested-by: Joe Perches <joe@perches.com>
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Reviewed-by: Pratyush Yadav <p.yadav@ti.com>
Reviewed-by: Michael Walle <michael@walle.cc>
Link: https://lore.kernel.org/r/20210322075131.45093-3-tudor.ambarus@microchip.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions