[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-id: <1392217248.22265.28.camel@AMDC1943>
Date: Wed, 12 Feb 2014 16:00:48 +0100
From: Krzysztof Kozlowski <k.kozlowski@...sung.com>
To: Yadwinder Singh Brar <yadi.brar01@...il.com>
Cc: Sangbeom Kim <sbkim73@...sung.com>,
Samuel Ortiz <sameo@...ux.intel.com>,
Lee Jones <lee.jones@...aro.org>,
linux-kernel <linux-kernel@...r.kernel.org>,
linux-samsung-soc <linux-samsung-soc@...r.kernel.org>,
Kyungmin Park <kyungmin.park@...sung.com>,
Marek Szyprowski <m.szyprowski@...sung.com>,
Bartlomiej Zolnierkiewicz <b.zolnierkie@...sung.com>,
Chanwoo Choi <cw00.choi@...sung.com>,
Mark Brown <broonie@...nel.org>,
Liam Girdwood <lgirdwood@...il.com>
Subject: Re: [PATCH 07/14] regulator: s2mps11: Choose number of supported
regulators during probe
On Wed, 2014-02-12 at 15:31 +0530, Yadwinder Singh Brar wrote:
> Hi,
>
>
> >
> > + dev_type = platform_get_device_id(pdev)->driver_data;
> > + switch (dev_type) {
> > + case S2MPS11X:
> > + s2mps11->rdev_num = ARRAY_SIZE(s2mps11_regulators);
> > + regulators = s2mps11_regulators;
>
> How about creating and passing copy of s2mps11_regulators at runtime
> and making s2mps11_regulators __initdata ?
Sounds good, I'll add this in next version of patchset.
Best regards,
Krzysztof
--
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