diff options
author | Anson Huang <Anson.Huang@nxp.com> | 2020-08-11 11:04:42 +0800 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2020-08-22 20:57:57 +0800 |
commit | b663b798d04fb73f1ad4d54c46582d2fde7a76d6 (patch) | |
tree | 626808bdeb8127647241e4564a9ee0bd28bd1292 /lib/mpi/mpi-add.c | |
parent | 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5 (diff) |
soc: imx: gpcv2: Use dev_err_probe() to simplify error handling
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 <Anson.Huang@nxp.com>
Reviewed-by: Guido Günther <agx@sigxcpu.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions