[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110418142855.GE2466@opensource.wolfsonmicro.com>
Date: Mon, 18 Apr 2011 15:28:56 +0100
From: Mark Brown <broonie@...nsource.wolfsonmicro.com>
To: Haojian Zhuang <haojian.zhuang@...vell.com>
Cc: sameo@...ux.intel.com, haojian.zhuang@...il.com,
linux-kernel@...r.kernel.org, dmitry.torokhov@...il.com,
a.zummo@...ertech.it, johnpol@....mipt.ru, cbou@...l.ru,
dwmw2@...radead.org, lrg@...mlogic.co.uk
Subject: Re: [PATCH 13/14] regulator: check name in initialization of
max8925
On Mon, Apr 18, 2011 at 10:04:10PM +0800, Haojian Zhuang wrote:
> Check name in initialization of max8925 regulator driver.
What name are we checking and why do we need to check it? I've no idea
what the patch is supposed to do which makes it hard to review.
> +++ b/drivers/regulator/max8925-regulator.c
> @@ -174,7 +174,7 @@ static struct regulator_ops max8925_regulator_ldo_ops = {
> #define MAX8925_SDV(_id, min, max, step) \
> { \
> .desc = { \
> - .name = "SDV" #_id, \
> + .name = "SD" #_id, \
The above isn't obviously correct - it changes the name that's assigned
from matching the macro used to something different.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists