[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110620103124.GD31864@opensource.wolfsonmicro.com>
Date: Mon, 20 Jun 2011 11:31:25 +0100
From: Mark Brown <broonie@...nsource.wolfsonmicro.com>
To: myungjoo.ham@...il.com
Cc: linux-arm-kernel@...ts.infradead.org,
Kukjin Kim <kgene.kim@...sung.com>,
Russell King <linux@....linux.org.uk>,
linux-kernel@...r.kernel.org, dg77.kim@...sung.com,
kyungmin.park@...sung.com
Subject: Re: [PATCH 1/2] Exynos4 NURI: configure regulators and PMIC
On Mon, Jun 20, 2011 at 04:58:09PM +0900, MyungJoo Ham wrote:
> However, the MAX8997 driver uses platform_data's entry (variables
> defined in "static struct max8997_platform_data __initdata
> nuri_max8997_pdata)
> in its normal functions other than its probe function, which are often
> called after boot.
That's bad practice on its part.
> I just can't sure whether I should let probe function copy
> platform-data used by non-probe functions to its own local data
This is the best fix.
--
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