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

power: supply: sc27xx: Delete superfluous error message

In the function sc27xx_fgu_probe(), when get irq failed,
platform_get_irq() logs an error message, so remove
redundant message here.

Signed-off-by: Tang Bin <tangbin@cmss.chinamobile.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>

authored by

Tang Bin and committed by
Sebastian Reichel
daaca315 ad1abe47

+1 -3
+1 -3
drivers/power/supply/sc27xx_fuel_gauge.c
··· 1229 1229 } 1230 1230 1231 1231 irq = platform_get_irq(pdev, 0); 1232 - if (irq < 0) { 1233 - dev_err(dev, "no irq resource specified\n"); 1232 + if (irq < 0) 1234 1233 return irq; 1235 - } 1236 1234 1237 1235 ret = devm_request_threaded_irq(data->dev, irq, NULL, 1238 1236 sc27xx_fgu_interrupt,