Skip to content
Commit 2b7950c7 authored by Sergey Shtylyov's avatar Sergey Shtylyov Committed by Sebastian Reichel
Browse files

power: supply: mp2629_charger: use platform_get_irq()



Calling platform_get_irq_optional() doesn't make sense if you then bail out
on any error it returns.  Switch to calling platform_get_irq() instead and
remove dev_err() call as platform_get_irq() already curses loudly on error.

Signed-off-by: default avatarSergey Shtylyov <s.shtylyov@omp.ru>
Signed-off-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
parent 441d38c6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment