Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b222a817 authored by Kim, Milo's avatar Kim, Milo Committed by Mark Brown
Browse files

regulator: change message level on probing lp872x driver



Use err log rather than warning message when the platform data is NULL

Signed-off-by: default avatarMilo(Woogyom) Kim <milo.kim@ti.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent dc2060cf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -885,7 +885,7 @@ static int lp872x_probe(struct i2c_client *cl, const struct i2c_device_id *id)
	};

	if (!pdata) {
		dev_warn(&cl->dev, "no platform data\n");
		dev_err(&cl->dev, "no platform data\n");
		return -EINVAL;
	}