Articles de cet auteur
Aug 08 2014
video: of: display_timing: delete unneeded test before of_node_put
Author: Julia Lawall <Julia.Lawall@lip6.fr> Of_node_put supports NULL as its argument, so the initial test is not necessary. Furthermore, native_mode cannot be NULL at this point. Suggested by Uwe Kleine-König. The semantic patch that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression e; @@ -if (e) of_node_put(e); // Signed-off-by: Julia Lawall Signed-off-by: Tomi Valkeinen …
Aug 08 2014
fec_mpc52xx: delete unneeded test before of_node_put
Author: Julia Lawall <Julia.Lawall@lip6.fr> Of_node_put supports NULL as its argument, so the initial test is not necessary. Suggested by Uwe Kleine-König. The semantic patch that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression e; @@ -if (e) of_node_put(e); // Signed-off-by: Julia Lawall Signed-off-by: David S. Miller — drivers/net/ethernet/freescale/fec_mpc52xx.c | 3 +– 1 file …
Aug 08 2014
ll_temac: delete unneeded test before of_node_put
Author: Julia Lawall <Julia.Lawall@lip6.fr> Of_node_put supports NULL as its argument, so the initial test is not necessary. Suggested by Uwe Kleine-König. The semantic patch that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression e; @@ -if (e) of_node_put(e); // Signed-off-by: Julia Lawall Reviewed-by: Michal Simek Signed-off-by: David S. Miller — drivers/net/ethernet/xilinx/ll_temac_main.c | 3 …
Aug 08 2014
gpio: delete unneeded test before of_node_put
Author: Julia Lawall <Julia.Lawall@lip6.fr> Of_node_put supports NULL as its argument, so the initial test is not necessary. Suggested by Uwe Kleine-König. The semantic patch that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression e; @@ -if (e) of_node_put(e); // Signed-off-by: Julia Lawall Signed-off-by: Linus Walleij — drivers/gpio/gpiolib-of.c | 4 +— 1 file changed, …
Aug 08 2014
imx-drm: imx-drm-core: delete unneeded test before of_node_put
Author: Julia Lawall <Julia.Lawall@lip6.fr> Of_node_put supports NULL as its argument, so the initial test is not necessary. Suggested by Uwe Kleine-König. The semantic patch that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression e; @@ -if (e) of_node_put(e); // Signed-off-by: Julia Lawall Signed-off-by: Greg Kroah-Hartman — drivers/staging/imx-drm/imx-drm-core.c | 3 +– 1 file changed, …
Aug 08 2014
ASoC: rsnd: delete unneeded test before of_node_put
Author: Julia Lawall <Julia.Lawall@lip6.fr> Of_node_put supports NULL as its argument, so the initial test is not necessary. Suggested by Uwe Kleine-König. The semantic patch that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression e; @@ -if (e) of_node_put(e); // Signed-off-by: Julia Lawall Signed-off-by: Mark Brown — sound/soc/sh/rcar/core.c | 6 ++—- 1 file changed, …
Aug 08 2014
powerpc/pseries: delete unneeded test before of_node_put
Author: Julia Lawall <Julia.Lawall@lip6.fr> Of_node_put supports NULL as its argument, so the initial test is not necessary. Suggested by Uwe Kleine-König. The semantic patch that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression e; @@ -if (e) of_node_put(e); // Signed-off-by: Julia Lawall Acked-by: Benjamin Herrenschmidt Signed-off-by: Michael Ellerman — arch/powerpc/platforms/pseries/iommu.c | 3 +– …
Aug 08 2014
powerpc/mpc5xxx: delete unneeded test before of_node_put
Author: Julia Lawall <Julia.Lawall@lip6.fr> Of_node_put supports NULL as its argument, so the initial test is not necessary. Suggested by Uwe Kleine-König. The semantic patch that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression e; @@ -if (e) of_node_put(e); // Signed-off-by: Julia Lawall Signed-off-by: Michael Ellerman — arch/powerpc/sysdev/mpc5xxx_clocks.c | 3 +– 1 file changed, …
Aug 08 2014
powerpc/fsl: fsl_soc: delete unneeded test before of_node_put
Author: Julia Lawall <Julia.Lawall@lip6.fr> Of_node_put supports NULL as its argument, so the initial test is not necessary. Suggested by Uwe Kleine-König. The semantic patch that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression e; @@ -if (e) of_node_put(e); // Signed-off-by: Julia Lawall Acked-by: Benjamin Herrenschmidt Signed-off-by: Michael Ellerman — arch/powerpc/sysdev/fsl_soc.c | 3 +– …
Aug 08 2014
net: axienet: delete unneeded test before of_node_put
Author: Julia Lawall <Julia.Lawall@lip6.fr> Of_node_put supports NULL as its argument, so the initial test is not necessary. Suggested by Uwe Kleine-König. The semantic patch that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression e; @@ -if (e) of_node_put(e); // Signed-off-by: Julia Lawall Reviewed-by: Michal Simek Signed-off-by: David S. Miller — drivers/net/ethernet/xilinx/xilinx_axienet_main.c | 3 …