[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-id: <4FBC4255.4040307@samsung.com>
Date: Wed, 23 May 2012 10:50:13 +0900
From: jonghwa3.lee@...sung.com
To: yadi.brar01@...il.com
Cc: linux-kernel@...r.kernel.org, linux-samsung-soc@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
Mark Brown <broonie@...nsource.wolfsonmicro.com>,
Liam Girdwood <lrg@...com>,
Yadwinder Singh Brar <yadi.brar@...sung.com>
Subject: Re: [PATCH v3 2/2] regulator: Add support for MAX77686.
Hi, again.
On 2012년 05월 22일 14:57, yadi.brar01@...il.com wrote:
> +static __devinit int max77686_pmic_probe(struct platform_device *pdev)
> +{
> +
> + for (i = 0; i < pdata->num_regulators; i++) {
> + config.dev = max77686->dev;
> + config.init_data = pdata->regulators[i].init_data;
> + config.driver_data = max77686;
> + config.regmap = iodev->regmap;
> +
> + rdev[i] = regulator_register(®ulators[i], &config);
I'm sorry that i missed one. You have to register all regulators
unconditionally. Mark brown commented about this to my former patch.
'No, you should unconditionally register all regulators the device
physically has. This is useful for debug and simplifies the code.'
- from Mark Brown
Thanks.
--
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