diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2020-09-02 17:06:43 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2020-09-18 23:02:03 +0200 |
commit | 43f83cd020bea8bcbfdd3f87d8be889b4356ea34 (patch) | |
tree | de250acf6eef607c28574165c76f06a3b19bbd1f /Documentation/scsi/scsi-parameters.rst | |
parent | 432d159a02bdca446578290015d0874e26fc5342 (diff) | |
download | linux-43f83cd020bea8bcbfdd3f87d8be889b4356ea34.tar.gz linux-43f83cd020bea8bcbfdd3f87d8be889b4356ea34.tar.bz2 linux-43f83cd020bea8bcbfdd3f87d8be889b4356ea34.zip |
i2c: mux: reg: 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: Peter Rosin <peda@axentia.se>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'Documentation/scsi/scsi-parameters.rst')
0 files changed, 0 insertions, 0 deletions