summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorMichael Walle <michael@walle.cc>2022-02-23 16:43:43 +0300
committerTudor Ambarus <tudor.ambarus@microchip.com>2022-02-25 19:11:11 +0300
commitb44aa9ac6bb4a305ceb2ed224781bc10abc03b12 (patch)
treedf572df415ec51ef261728181958118770d09266 /scripts/gdb/linux/utils.py
parent232e2830f525a804fc852c3a6a1df69f252a4f23 (diff)
downloadlinux-b44aa9ac6bb4a305ceb2ed224781bc10abc03b12.tar.xz
mtd: spi-nor: slightly refactor the spi_nor_setup()
Instead of always using a function pointer (and initializing it to our default), just call the default function if the flash didn't set its own one. That will make the call flow easier to follow. Also mark the parameter as optional now. 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-18-michael@walle.cc
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions