Re: [PATCH 2/2] sound/soc/fsl/mpc8610_hpcd.c: add missing of_node_put

2011-08-22 Thread Mark Brown
On Sat, Aug 20, 2011 at 09:02:01AM +0200, Julia Lawall wrote: From: Julia Lawall ju...@diku.dk The first change is to add an of_node_put, since codec_np has previously been allocated. The rest of the patch reorganizes the error handling code so the only code executed is that which is

[PATCH 2/2] sound/soc/fsl/mpc8610_hpcd.c: add missing of_node_put

2011-08-20 Thread Julia Lawall
From: Julia Lawall ju...@diku.dk The first change is to add an of_node_put, since codec_np has previously been allocated. The rest of the patch reorganizes the error handling code so the only code executed is that which is needed. A simplified version of the semantic match that finds this