milos-linux/drivers/staging/axis-fifo
Gustavo Piaz da Silva a8422facc2 staging: axis-fifo: refactor device tree parsing
Refactor the device tree parsing logic in axis_fifo_probe() to reduce
verbosity and simplify error handling.

Remove the verbose error logging and goto logic. Instead, check
of_property_read_u32() return values directly and propagate error codes
immediately. This aligns the driver with modern kernel standards by
removing unnecessary error messages during probe.

Signed-off-by: Gustavo Piaz da Silva <gustavopiazdasilva2102@gmail.com>
Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://patch.msgid.link/20260223114207.3639-3-gustavopiazdasilva2102@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-02-23 15:45:31 +01:00
..
axis-fifo.c staging: axis-fifo: refactor device tree parsing 2026-02-23 15:45:31 +01:00
axis-fifo.txt staging: axis-fifo: add compatible strings for v4.2 and v4.3 2025-10-13 09:09:28 +02:00
Kconfig
Makefile
README