aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorTudor Ambarus <tudor.ambarus@microchip.com>2021-03-22 09:51:31 +0200
committerTudor Ambarus <tudor.ambarus@microchip.com>2021-03-31 22:41:34 +0300
commitb6cbd9167d442389614c079b7a8816d952114b90 (patch)
tree044bf6d12f6a364b7494db2adc0492ee111c929f /tools/testing/selftests/bpf/progs/test_autoload.c
parentc4c795105f2924c80752c30ffd3c7029a8e0ef28 (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 <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/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions