diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2021-03-02 10:11:14 +0100 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2021-03-30 08:21:43 +0200 |
commit | a5759f193fa3dbc7c256dd8675e41e6ca4f6abf6 (patch) | |
tree | 0ba4b0dbd7f9cb05f52b5e7fc2714a88879ccabf /drivers/soundwire/master.c | |
parent | soundwire: bus: test read status (diff) | |
download | linux-a5759f193fa3dbc7c256dd8675e41e6ca4f6abf6.tar.xz linux-a5759f193fa3dbc7c256dd8675e41e6ca4f6abf6.zip |
soundwire: bus: use consistent tests for return values
We use different styles to check the return values of IO related
routines. The majority of the cases use 'if (ret < 0)', align the
remaining cases for consistency.
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://lore.kernel.org/r/20210302091122.13952-4-yung-chuan.liao@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/soundwire/master.c')
0 files changed, 0 insertions, 0 deletions