summaryrefslogtreecommitdiff
path: root/arch/cris
diff options
context:
space:
mode:
authorDan Streetman <ddstreet@ieee.org>2015-07-22 14:26:34 -0400
committerHerbert Xu <herbert@gondor.apana.org.au>2015-07-23 18:14:30 +0800
commitee781b7ff3d8ab93bf99b1c3e1f0a29dda2a63e5 (patch)
treeabfda8330f09bed621d251c77319b50c85595ec1 /arch/cris
parent7f6e3aad5ab31c310b36bf0edcd305305b20e2a8 (diff)
crypto: nx - don't register pSeries driver if ENODEV
Don't register the pSeries driver when parsing the device tree returns ENODEV. The nx842_probe() function in the pSeries driver returns error instead of registering as a crypto compression driver, when it receives an error return value from the nx842_OF_upd() function that probes the device tree nodes, except when ENODEV is returned. However ENODEV should not be a special case and the driver should not register when there is no hw device, or the hw device is disabled. Signed-off-by: Dan Streetman <ddstreet@ieee.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/cris')
0 files changed, 0 insertions, 0 deletions