diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2020-09-02 17:06:36 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2021-06-23 18:22:17 +0200 |
commit | 9dbba3f87c7823cf35e63fb7a2449a5d54b3b799 (patch) | |
tree | 879525c5f7ba9021e1aa4dcaf030ad37d74d74aa /drivers/i2c/Makefile | |
parent | dd66b39f600b0c4d17008226e76ff0f98a2ef674 (diff) |
i2c: xiic: Simplify with dev_err_probe()
Common pattern of handling deferred probe can be simplified with
dev_err_probe(). Less code and the error value gets printed.
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Acked-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'drivers/i2c/Makefile')
0 files changed, 0 insertions, 0 deletions