diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2020-09-02 17:06:41 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2020-09-27 19:58:56 +0200 |
commit | 91a73027f28748e8d84549bdc3302254fba80344 (patch) | |
tree | a6d95142f3c5f0adc2def936f6366db230d5b9d9 /drivers/i2c/busses/i2c-xlp9xx.c | |
parent | b5b5b32081cd206baa6e58cca7f112d9723785d6 (diff) |
i2c: rk3x: 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>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'drivers/i2c/busses/i2c-xlp9xx.c')
0 files changed, 0 insertions, 0 deletions