Messages in this thread Patch in this message | | | From | "Kim, Milo" <> | Subject | [PATCH 3/3] regulator: change message level on probing lp872x driver | Date | Thu, 21 Jun 2012 08:03:56 +0000 |
| |
Use err log rather than warning message when the platform data is NULL
Signed-off-by: Milo(Woogyom) Kim <milo.kim@ti.com> --- 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 daaa0ed..0c0e62f 100644 --- a/drivers/regulator/lp872x.c +++ b/drivers/regulator/lp872x.c @@ -891,7 +891,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; } -- 1.7.2.5
Best Regards, Milo (Woogyom) Kim
| |