Re: [PATCH] Driver core: Add accessor for device tree node

2013-07-30 Thread Jingoo Han
On Tuesday, July 30, 2013 10:57 PM, Greg Kroah-Hartman wrote: > On Tue, Jul 30, 2013 at 06:20:47PM +0900, Jingoo Han wrote: > > Add the wrapper function for retrieving device tree node instead of > > accessing dev->of_node directly. > > Why? Sorry, I cannot find the special reason why it should

Re: [PATCH] Driver core: Add accessor for device tree node

2013-07-30 Thread Greg Kroah-Hartman
On Tue, Jul 30, 2013 at 06:20:47PM +0900, Jingoo Han wrote: > Add the wrapper function for retrieving device tree node instead of > accessing dev->of_node directly. Why? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

[PATCH] Driver core: Add accessor for device tree node

2013-07-30 Thread Jingoo Han
Add the wrapper function for retrieving device tree node instead of accessing dev->of_node directly. Signed-off-by: Jingoo Han --- include/linux/device.h |5 + 1 file changed, 5 insertions(+) diff --git a/include/linux/device.h b/include/linux/device.h index 22b546a..4faaa51 100644 ---

[PATCH] Driver core: Add accessor for device tree node

2013-07-30 Thread Jingoo Han
Add the wrapper function for retrieving device tree node instead of accessing dev-of_node directly. Signed-off-by: Jingoo Han jg1@samsung.com --- include/linux/device.h |5 + 1 file changed, 5 insertions(+) diff --git a/include/linux/device.h b/include/linux/device.h index

Re: [PATCH] Driver core: Add accessor for device tree node

2013-07-30 Thread Greg Kroah-Hartman
On Tue, Jul 30, 2013 at 06:20:47PM +0900, Jingoo Han wrote: Add the wrapper function for retrieving device tree node instead of accessing dev-of_node directly. Why? -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org

Re: [PATCH] Driver core: Add accessor for device tree node

2013-07-30 Thread Jingoo Han
On Tuesday, July 30, 2013 10:57 PM, Greg Kroah-Hartman wrote: On Tue, Jul 30, 2013 at 06:20:47PM +0900, Jingoo Han wrote: Add the wrapper function for retrieving device tree node instead of accessing dev-of_node directly. Why? Sorry, I cannot find the special reason why it should be used.