]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: mvebu: Use the a standard errno in mvebu_get_soc_id
authorGregory CLEMENT <gregory.clement@free-electrons.com>
Fri, 20 Jun 2014 14:35:52 +0000 (16:35 +0200)
committerJason Cooper <jason@lakedaemon.net>
Sat, 21 Jun 2014 00:59:48 +0000 (00:59 +0000)
commit37215f4aabc1d79f626d1952b3248e5d456253c7
tree05469871d2af7dc3b15479d1c6711628ddf2271a
parenta4f03e4ce7a7abd697fc4f57a2a57e0b2c8c6580
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>
arch/arm/mach-mvebu/mvebu-soc-id.c