aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorGravatar Deepak R Varma <drv@mailo.com> 2022-12-22 22:48:29 +0530
committerGravatar Sebastian Reichel <sebastian.reichel@collabora.com> 2023-01-02 20:16:56 +0100
commit5dd482688ad34a92c8b0907a64f7f022310f982d (patch)
tree5b36db45e590e5becc3ec630b4203d2e59e8240e /scripts
parentpower: supply: use sysfs_emit() instead of sprintf() for sysfs show() (diff)
downloadlinux-5dd482688ad34a92c8b0907a64f7f022310f982d.tar.gz
linux-5dd482688ad34a92c8b0907a64f7f022310f982d.tar.bz2
linux-5dd482688ad34a92c8b0907a64f7f022310f982d.zip
power: supply: da9150: Remove redundant error logging
A call to platform_get_irq_byname() already prints an error on failure within its own implementation. So printing another error based on its return value in the caller is redundant and should be removed. The clean up also makes if condition block braces and the device pointer variable dev unnecessary. Remove those as well. Issue identified using platform_get_irq.cocci coccinelle semantic patch. Signed-off-by: Deepak R Varma <drv@mailo.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions