Change return value for -ENOTSUP, -ENODEV and -ENOENT 16/251116/3
authorlokilee73 <changjoo.lee@samsung.com>
Fri, 8 Jan 2021 07:56:28 +0000 (16:56 +0900)
committerlokilee73 <changjoo.lee@samsung.com>
Fri, 8 Jan 2021 08:03:40 +0000 (17:03 +0900)
commitaf87eb992d7810f48f7384bcd5837c6687466892
treea76edf157c66db59ee2a94cdbd0b7552af129c13
parent952e30311a52f9261232111463a532c2bbb29cb7
Change return value for -ENOTSUP, -ENODEV and -ENOENT

DEVICE_ERROR_NOT_SUPPORTED must be returned only when feature is not defined.
So, change return value to DEVICE_ERROR_OPERATION_FAILED.

Change-Id: Id4876d34e63c55d666458f58fef95c24eb77026f
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
src/common.h