CC: [email protected] CC: [email protected] TO: Samuel Holland <[email protected]> CC: Sebastian Reichel <[email protected]> CC: "Chen-Yu Tsai" <[email protected]> CC: [email protected] CC: [email protected]
From: kernel test robot <[email protected]> drivers/power/supply/axp20x_ac_power.c:381:3-10: line 381 is redundant because platform_get_irq() already prints an error Remove dev_err() messages after platform_get_irq*() failures Generated by: scripts/coccinelle/api/platform_get_irq.cocci Fixes: ca4c77bb4315 ("power: supply: axp20x_ac_power: Add wakeup control") CC: Samuel Holland <[email protected]> Signed-off-by: kernel test robot <[email protected]> --- tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 96144c58abe7ff767e754b5b80995f7b8846d49b commit: ca4c77bb43151e6569e7aae689a69b65a48c85f0 power: supply: axp20x_ac_power: Add wakeup control :::::: branch date: 8 hours ago :::::: commit date: 5 months ago Please take the patch only if it's a positive warning. Thanks! axp20x_ac_power.c | 2 -- 1 file changed, 2 deletions(-) --- a/drivers/power/supply/axp20x_ac_power.c +++ b/drivers/power/supply/axp20x_ac_power.c @@ -378,8 +378,6 @@ static int axp20x_ac_power_probe(struct for (i = 0; i < axp_data->num_irq_names; i++) { irq = platform_get_irq_byname(pdev, axp_data->irq_names[i]); if (irq < 0) { - dev_err(&pdev->dev, "No IRQ for %s: %d\n", - axp_data->irq_names[i], irq); return irq; } power->irqs[i] = regmap_irq_get_virq(axp20x->regmap_irqc, irq); _______________________________________________ kbuild mailing list -- [email protected] To unsubscribe send an email to [email protected]
