drivers: Replace DEV_NO_SUPPORT by -ENODEV
This patch replaces all occurences of the macro DEV_NO_SUPPORT by -ENODEV at the driver level. So this patch touch the files under drivers/, include/ and samples/drivers/ when applicable. This patch is part of the effort to transition from DEV_* codes to errno.h codes. Change-Id: I03007527367b03e6fd72a85004b7d3b81046a6a6 Signed-off-by: Andre Guedes <andre.guedes@intel.com>
This commit is contained in:
parent
2a4c5fce00
commit
aca7cb1efd
4 changed files with 11 additions and 9 deletions
|
@ -268,12 +268,12 @@ static inline int gpio_qmsi_disable_callback(struct device *port, int access_op,
|
|||
|
||||
static inline int gpio_qmsi_suspend_port(struct device *port)
|
||||
{
|
||||
return DEV_NO_SUPPORT;
|
||||
return -ENODEV;
|
||||
}
|
||||
|
||||
static inline int gpio_qmsi_resume_port(struct device *port)
|
||||
{
|
||||
return DEV_NO_SUPPORT;
|
||||
return -ENODEV;
|
||||
}
|
||||
|
||||
static struct gpio_driver_api api_funcs = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue