From: Kim, Milo Date: Thu, 21 Jun 2012 08:03:56 +0000 (+0000) Subject: regulator: change message level on probing lp872x driver X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b222a817b45c27f3411dbe9eb6b4041076351bc2;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git regulator: change message level on probing lp872x driver Use err log rather than warning message when the platform data is NULL Signed-off-by: Milo(Woogyom) Kim Signed-off-by: Mark Brown --- diff --git a/drivers/regulator/lp872x.c b/drivers/regulator/lp872x.c index e8f54efb1985..471f8e82be41 100644 --- a/drivers/regulator/lp872x.c +++ b/drivers/regulator/lp872x.c @@ -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; }