aboutsummaryrefslogtreecommitdiff
path: root/drivers/regulator/lp872x.c
diff options
context:
space:
mode:
authorKim, Milo <Milo.Kim@ti.com>2012-06-21 08:03:56 +0000
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-06-21 11:04:06 +0100
commitb222a817b45c27f3411dbe9eb6b4041076351bc2 (patch)
tree8ba106f31af22b5e34a6d000939e0d12d4f85d96 /drivers/regulator/lp872x.c
parentdc2060cfe2aa2b62ba2f4a19fce0c20eceefe7ca (diff)
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 <milo.kim@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator/lp872x.c')
-rw-r--r--drivers/regulator/lp872x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/lp872x.c b/drivers/regulator/lp872x.c
index e8f54efb198..471f8e82be4 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;
}