Re: [PATCH] i2c: imx: Use dev_err_probe() to simplify error handling

2020-09-09 Thread Wolfram Sang
On Wed, Aug 12, 2020 at 11:45:54AM +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. > > Signed-off-by: Anson Huang Applied to for-next, thanks! signature.asc Description: PGP signatu

Re: [PATCH] i2c: imx: Use dev_err_probe() to simplify error handling

2020-08-11 Thread Oleksij Rempel
On Wed, Aug 12, 2020 at 11:45:54AM +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. > > Signed-off-by: Anson Huang > --- > drivers/i2c/busses/i2c-imx.c | 8 +++- > 1 file changed, 3

[PATCH] i2c: imx: Use dev_err_probe() to simplify error handling

2020-08-11 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 --- drivers/i2c/busses/i2c-imx.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/i2c/busses/i2c-imx.c b