powerpc/rtas: Replace magic values with defines
authorThomas Huth <thuth@redhat.com>
Wed, 22 Jul 2015 16:56:47 +0000 (18:56 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 23 Jul 2015 06:27:05 +0000 (16:27 +1000)
commit9ef03193a93553885b43731c47d3b6ae90e677c4
treec74c8ee8a2000d090fb13c9a061042569dce7dfe
parent79cd95200035fb4b39b089dd01c13302eee6ee03
powerpc/rtas: Replace magic values with defines

rtas.h already has some nice #defines for RTAS return status
codes - let's use them instead of hard-coded "magic" values!

Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Tyrel Datwyler <tyreld@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/rtas.c