mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 02:39:48 +00:00
ARM: mvebu: Use the a standard errno in mvebu_get_soc_id
Instead of using -1 as error value, use a standard errno. Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com> Link: https://lkml.kernel.org/r/1403274953-21790-2-git-send-email-gregory.clement@free-electrons.com Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
This commit is contained in:
parent
9d6373485c
commit
5e80d81acc
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ int mvebu_get_soc_id(u32 *dev, u32 *rev)
|
|||
*rev = soc_rev;
|
||||
return 0;
|
||||
} else
|
||||
return -1;
|
||||
return -ENODEV;
|
||||
}
|
||||
|
||||
static int __init mvebu_soc_id_init(void)
|
||||
|
|
Loading…
Reference in a new issue