commit | 01835fadf5eda4afdca5c0aa7a89e210ee45bec6 | [log] [tgz] |
---|---|---|
author | Srikant Ritolia <s.ritolia@samsung.com> | Tue Nov 29 11:04:37 2016 +0000 |
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | Wed Dec 07 16:34:43 2016 +0100 |
tree | f3b0f494f0352e3aeb5ec39e38e92f2d500f6da1 | |
parent | 1c02cbfec5c7754cb16456fcb26592a20781cdff [diff] |
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: Srikant Ritolia <s.ritolia@samsung.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>