Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 01835fad authored by Srikant Ritolia's avatar Srikant Ritolia Committed by Alexandre Belloni
Browse files

rtc: ds1374: Merge conditional + WARN_ON()



WARN_ON does both these things in one statement.
Using a better pattern with WARN_ON().

Signed-off-by: default avatarSrikant Ritolia <s.ritolia@samsung.com>
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@free-electrons.com>
parent 1c02cbfe
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