This series cleans up the axis-fifo driver probe function logic.
Patch 1 aligns the struct types with the OF API to avoid potential mismatches.
Patch 2 refactors the parsing logic to be less verbose and removes goto usage.
Changes in v3:
- Split into two patches as requested.
- Dropped the "fixes warning" claim from Patch 1, focusing on type correctness.
- Link to v2: https://lore.kernel.org/linux-staging/20260131140517.29771-1-gustavopiazdasilva2102@gmail.com/
Gustavo Piaz da Silva (2):
staging: axis-fifo: align fifo depth types with OF API
staging: axis-fifo: refactor device tree parsing
drivers/staging/axis-fifo/axis-fifo.c | 80 +++++++++------------------
1 file changed, 27 insertions(+), 53 deletions(-)
--
2.52.0