Re: [PATCH V2 1/2] irqchip/imx-intmux: Use dev_err_probe() to simplify error handling

2020-09-13 Thread Marc Zyngier
On Tue, 11 Aug 2020 14:16:15 +0800, Anson Huang wrote: > dev_err_probe() can reduce code size, uniform error handling and record the > defer probe reason etc., use it to simplify the code. Applied to irq/irqchip-next, thanks! [1/2] irqchip/imx-intmux: Use dev_err_probe() to simplify error handlin

[PATCH V2 1/2] irqchip/imx-intmux: Use dev_err_probe() to simplify error handling

2020-08-10 Thread Anson Huang
dev_err_probe() can reduce code size, uniform error handling and record the defer probe reason etc., use it to simplify the code. Signed-off-by: Anson Huang --- changes since V1: - remove redundant return value print. --- drivers/irqchip/irq-imx-intmux.c | 9 +++-- 1 file changed, 3