MIPS: ath79: Use errno to get error code from open_and_lseek()
Open_and_lseek() return actual error code via errno, so change the code to use it instead of return value. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> |
---|
|
arch/mips/mach-ath79/art.c |
---|