[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20101006175247.GB2874@sirena.org.uk>
Date: Wed, 6 Oct 2010 18:52:47 +0100
From: Mark Brown <broonie@...nsource.wolfsonmicro.com>
To: Linus Walleij <linus.ml.walleij@...il.com>
Cc: Marek Vasut <marek.vasut@...il.com>,
linux-arm-kernel@...ts.infradead.org, dmitry.torokhov@...il.com,
vapier@...too.org, pavel@....cz, akpm@...ux-foundation.org,
khilman@...prootsystems.com, linux-input@...r.kernel.org,
linux-kernel@...r.kernel.org, eric.y.miao@...il.com
Subject: Re: [PATCH] Input: Make ADS7846 independent on regulator
On Wed, Oct 06, 2010 at 07:16:05PM +0200, Linus Walleij wrote:
> 2010/7/31 Marek Vasut <marek.vasut@...il.com>:
> > +#ifdef CONFIG_REGULATOR
> Skip the #ifdef, if the regulators are configured out, there will be
> a stub providing NULL for all get_regulator() calls anyway.
While ifdefs on CONFIG_REGULATOR should indeed be skipped I'd not expect
the stubs to be returning NULL for anything (but then as discussed
elsewhere this whole approach of doing everything in the drivers is a
poor one).
--
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