powerpc/nvram: print no error when pstore backend is not nvram
authorHari Bathini <hbathini@linux.vnet.ibm.com>
Mon, 11 May 2015 08:23:43 +0000 (13:53 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 19 Aug 2015 06:14:21 +0000 (16:14 +1000)
commit74943dab6b155b1a9d4037b7f01a396f28f9c44a
treeadd1510af33198dac6d6708701b4fe06a7e7e75f
parentd9232a3da8683cd9c9854a858bcca968fe5f3bca
powerpc/nvram: print no error when pstore backend is not nvram

Pstore only supports one backend at a time. The preferred
pstore backend is set by passing the pstore.backend=<name>
argument to the kernel at boot time. Currently, while trying
to register with pstore, nvram throws an error message even
when "pstore.backend != nvram", which is unnecessary. This
patch removes the error message in case "pstore.backend != nvram".

Signed-off-by: Hari Bathini <hbathini@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/nvram_64.c