diff options
| author | Tudor Ambarus <[email protected]> | 2021-03-22 09:51:31 +0200 |
|---|---|---|
| committer | Tudor Ambarus <[email protected]> | 2021-03-31 22:41:34 +0300 |
| commit | b6cbd9167d442389614c079b7a8816d952114b90 (patch) | |
| tree | 044bf6d12f6a364b7494db2adc0492ee111c929f /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | c4c795105f2924c80752c30ffd3c7029a8e0ef28 (diff) | |
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 <[email protected]>
Signed-off-by: Tudor Ambarus <[email protected]>
Reviewed-by: Pratyush Yadav <[email protected]>
Reviewed-by: Michael Walle <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions