Unverified Commit 933662f2 authored by Ladislav Michl's avatar Ladislav Michl Committed by Mark Brown
Browse files

ASoC: max9867: Fix whitespace



Minor changes to match coding style.

Signed-off-by: default avatarLadislav Michl <ladis@linux-mips.org>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 2708bccf
Loading
Loading
Loading
Loading
+5 −7
Original line number Diff line number Diff line
@@ -478,8 +478,7 @@ static int max9867_i2c_probe(struct i2c_client *i2c,
	struct max9867_priv *max9867;
	int ret = 0, reg;

	max9867 = devm_kzalloc(&i2c->dev,
			sizeof(*max9867), GFP_KERNEL);
	max9867 = devm_kzalloc(&i2c->dev, sizeof(*max9867), GFP_KERNEL);
	if (!max9867)
		return -ENOMEM;

@@ -490,8 +489,7 @@ static int max9867_i2c_probe(struct i2c_client *i2c,
		dev_err(&i2c->dev, "Failed to allocate regmap: %d\n", ret);
		return ret;
	}
	ret = regmap_read(max9867->regmap,
			MAX9867_REVISION, &reg);
	ret = regmap_read(max9867->regmap, MAX9867_REVISION, &reg);
	if (ret < 0) {
		dev_err(&i2c->dev, "Failed to read: %d\n", ret);
		return ret;