Tag: 8d1ceb52e110aec808d64973f90fe4f69a5e42e9

PCI: imx6: Simplify a trivial if-return sequence

Author: Fabio Estevam <fabio.estevam@freescale.com> Simplify a trivial if-return sequence by combining it with a preceding function call. The semantic patch that makes this change is available in scripts/coccinelle/misc/simple_return.cocci. Signed-off-by: Fabio Estevam Signed-off-by: Bjorn Helgaas CC: Lucas Stach — drivers/pci/host/pci-imx6.c | 12 ++———- 1 file changed, 2 insertions(+), 10 deletions(-)   diff –git a/drivers/pci/host/pci-imx6.c b/drivers/pci/host/pci-imx6.c index …

Continue reading