Re: [PATCH 33/37] sound/soc: use .dev.of_node instead of .node in struct of_device

Previous thread: Re: i2c-drivers: Remove dangling pointers by Ben Dooks on Monday, April 5, 2010 - 3:59 pm. (2 messages)

Next thread: Downsides to madvise/fadvise(willneed) for application startup by Taras Glek on Monday, April 5, 2010 - 3:43 pm. (32 messages)
From: Ben Dooks
Date: Monday, April 5, 2010 - 4:03 pm

This looks like one case where an inline function would have been a
help.


-- 
Ben (ben@fluff.org, http://www.fluff.org/)

  'a smiley only costs 4 bytes'
--

From: Grant Likely
Date: Monday, April 5, 2010 - 4:47 pm

Hi Ben, thanks for the comment.  Reply below...


In what regard (how would you like it to look)?  The node pointer
location is very unlikely to move again, and I prefer the clarity of
direct dereferencing.

g.
--

Previous thread: Re: i2c-drivers: Remove dangling pointers by Ben Dooks on Monday, April 5, 2010 - 3:59 pm. (2 messages)

Next thread: Downsides to madvise/fadvise(willneed) for application startup by Taras Glek on Monday, April 5, 2010 - 3:43 pm. (32 messages)