7 Oct
2014
7 Oct
'14
8:04 p.m.
On Tue, Oct 07, 2014 at 07:39:03PM +0200, Takashi Iwai wrote:
Mark Brown wrote:
Well, in this case I'd just move the of_node_put() into the existing check for pdata since we don't ever reference np outside of that anyway.
Yeah, that's an option, too, but it'd make the code less readable. So I chose the straightforward way.
I don't actually see it as a readability concern - to me having the get and release close to each other and especially having them at the same level of indentation helps.