diff options
| author | 2020-09-02 17:06:38 +0200 | |
|---|---|---|
| committer | 2021-06-23 18:22:28 +0200 | |
| commit | 2d1a83a4f36f1a6fd8c510db409772e34bf4eed1 (patch) | |
| tree | 6ae26dd388c15f4e4ca554cb5d6041fb6bcaf231 /tools/testing/selftests/exec/git:/ssh:/git@git.zx2c4.com | |
| parent | i2c: xiic: Simplify with dev_err_probe() (diff) | |
| download | linux-dev-2d1a83a4f36f1a6fd8c510db409772e34bf4eed1.tar.xz linux-dev-2d1a83a4f36f1a6fd8c510db409772e34bf4eed1.zip | |
i2c: cadence: 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 'tools/testing/selftests/exec/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
