提交 b222a817 编写于 作者: K Kim, Milo 提交者: Mark Brown

regulator: change message level on probing lp872x driver

Use err log rather than warning message when the platform data is NULL
Signed-off-by: NMilo(Woogyom) Kim <milo.kim@ti.com>
Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
上级 dc2060cf
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册