diff options
author | Kim, Milo <Milo.Kim@ti.com> | 2012-06-21 12:03:56 +0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-06-21 14:04:06 +0400 |
commit | b222a817b45c27f3411dbe9eb6b4041076351bc2 (patch) | |
tree | 8ba106f31af22b5e34a6d000939e0d12d4f85d96 /drivers/regulator/lp872x.c | |
parent | dc2060cfe2aa2b62ba2f4a19fce0c20eceefe7ca (diff) | |
download | linux-b222a817b45c27f3411dbe9eb6b4041076351bc2.tar.xz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |