Skip to content
Commit a3a84316 authored by Michael Olbrich's avatar Michael Olbrich Committed by Marius Vlad
Browse files

ivi-layout: simplify API



Use assert() to check for invalid NULL arguments. Something like that happens
during development and assert() makes it easier to find the error. And it avoids
unnecessary additional error handling.
The hmi-controller asserted anyways so this just moves the assert on level
deeper. Other controller probably do the same thing, or don't check the return
values at all.

Signed-off-by: default avatarMichael Olbrich <m.olbrich@pengutronix.de>
parent 3805bcad
Loading
Loading
Loading
Pipeline #860825 passed with stages
in 1 minute and 35 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment