Skip to content
Unverified Commit 6d8d840b authored by Rishi Gupta's avatar Rishi Gupta Committed by Mark Brown
Browse files

regulator: da9063: remove redundant return statement



The devm_request_threaded_irq() already returns 0 on success
and negative error code on failure. So return from this itself
can be used while preserving error log in case of failure.

Signed-off-by: default avatarRishi Gupta <gupt21@gmail.com>
Link: https://lore.kernel.org/r/1580996996-28798-1-git-send-email-gupt21@gmail.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent a33b25f5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment