+193
−115
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Return both error code and register value as return code from
read functions, and always check for errors.
This reduces code size on x86_64 by more than 1k while at
the same time improving error resiliency.
Signed-off-by:
Guenter Roeck <linux@roeck-us.net>