diff options
author | Kim, Milo <Milo.Kim@ti.com> | 2012-06-21 08:03:56 +0000 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-06-21 11:04:06 +0100 |
commit | b222a817b45c27f3411dbe9eb6b4041076351bc2 (patch) | |
tree | 8ba106f31af22b5e34a6d000939e0d12d4f85d96 | |
parent | dc2060cfe2aa2b62ba2f4a19fce0c20eceefe7ca (diff) | |
download | op-kernel-dev-b222a817b45c27f3411dbe9eb6b4041076351bc2.zip op-kernel-dev-b222a817b45c27f3411dbe9eb6b4041076351bc2.tar.gz |
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>
-rw-r--r-- | drivers/regulator/lp872x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/lp872x.c b/drivers/regulator/lp872x.c index e8f54ef..471f8e8 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; } |