Thread (41 messages) 41 messages, 7 authors, 2011-08-23

RE: [RFC PATCH v2 11/13] arm/tegra: Add device tree support to pinmux driver

From: Stephen Warren <hidden>
Date: 2011-08-23 23:36:26
Also in: linux-arm-kernel, linux-devicetree, lkml

Shawn Guo wrote at Monday, August 15, 2011 9:45 PM:
On Mon, Aug 15, 2011 at 02:28:18PM -0600, Stephen Warren wrote:
quoted
Signed-off-by: Stephen Warren <redacted>
---
 arch/arm/mach-tegra/pinmux.c |  249 ++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 249 insertions(+), 0 deletions(-)
Same question here, since we are moving over to device tree anyway,
is it necessarily to keep these "#ifdef CONFIG_OF" all over the files?
Can we manage to get rid of them, since we have a suite of empty OF API
created for this?
Yes, the ifdefs can all be eliminated. I'll need to add a couple other
empty functions to <linux/of.h>. I also folded the foo_probe_dt()
functions into foo_probe(), since the need for the ifdefs is gone.

-- 
nvpublic
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help