Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'soc-fsl-next-v4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/leo/linux into next/drivers

NXP/FSL SoC driver updates for v4.20

- Use of_get_child_by_name helper for QE driver
- Remove redundant pointer 'priv' for dpio driver

* tag 'soc-fsl-next-v4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/leo/linux:
soc: fsl: dpio: remove redundant pointer 'priv'
soc: fsl/qe: Use of_get_child_by_name helper

Signed-off-by: Olof Johansson <olof@lixom.net>

+1 -8
-3
drivers/soc/fsl/dpio/dpio-driver.c
··· 50 50 51 51 static int register_dpio_irq_handlers(struct fsl_mc_device *dpio_dev, int cpu) 52 52 { 53 - struct dpio_priv *priv; 54 53 int error; 55 54 struct fsl_mc_device_irq *irq; 56 55 cpumask_t mask; 57 - 58 - priv = dev_get_drvdata(&dpio_dev->dev); 59 56 60 57 irq = dpio_dev->irqs[0]; 61 58 error = devm_request_irq(&dpio_dev->dev,
+1 -5
drivers/soc/fsl/qe/qe.c
··· 588 588 } 589 589 590 590 /* Find the 'firmware' child node */ 591 - for_each_child_of_node(qe, fw) { 592 - if (strcmp(fw->name, "firmware") == 0) 593 - break; 594 - } 595 - 591 + fw = of_get_child_by_name(qe, "firmware"); 596 592 of_node_put(qe); 597 593 598 594 /* Did we find the 'firmware' node? */