summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/cs35l41-i2c.c
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.cirrus.com>2021-09-14 15:13:49 +0100
committerMark Brown <broonie@kernel.org>2021-09-15 13:12:35 +0100
commit4295c8cc17481e0d7d4c3a404eaf87dc8dfc26be (patch)
tree81b8a350a8640f2f1064c1eae718f625f419eac0 /sound/soc/codecs/cs35l41-i2c.c
parent3e60abeb5cb51bccc8bcc6808eef2037ab412334 (diff)
downloadlinux-4295c8cc17481e0d7d4c3a404eaf87dc8dfc26be.tar.bz2
ASoC: cs35l41: Fix a bunch of trivial code formating/style issues
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com> Link: https://lore.kernel.org/r/20210914141349.30218-6-ckeepax@opensource.cirrus.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/cs35l41-i2c.c')
-rw-r--r--sound/soc/codecs/cs35l41-i2c.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sound/soc/codecs/cs35l41-i2c.c b/sound/soc/codecs/cs35l41-i2c.c
index dc9da78df412..2f3d1bd8e046 100644
--- a/sound/soc/codecs/cs35l41-i2c.c
+++ b/sound/soc/codecs/cs35l41-i2c.c
@@ -44,7 +44,7 @@ static const struct i2c_device_id cs35l41_id_i2c[] = {
MODULE_DEVICE_TABLE(i2c, cs35l41_id_i2c);
static int cs35l41_i2c_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+ const struct i2c_device_id *id)
{
struct cs35l41_private *cs35l41;
struct device *dev = &client->dev;
@@ -64,8 +64,7 @@ static int cs35l41_i2c_probe(struct i2c_client *client,
cs35l41->regmap = devm_regmap_init_i2c(client, regmap_config);
if (IS_ERR(cs35l41->regmap)) {
ret = PTR_ERR(cs35l41->regmap);
- dev_err(cs35l41->dev, "Failed to allocate register map: %d\n",
- ret);
+ dev_err(cs35l41->dev, "Failed to allocate register map: %d\n", ret);
return ret;
}