trusty: Fix return value of trusty_init()
authorAntonio Nino Diaz <antonio.ninodiaz@arm.com>
Tue, 18 Sep 2018 12:13:24 +0000 (13:13 +0100)
committerAntonio Nino Diaz <antonio.ninodiaz@arm.com>
Tue, 18 Sep 2018 12:33:28 +0000 (13:33 +0100)
commit0153806b9e3756ad81629bbfd2a0f909a1b579fc
tree857612f92a2ebbe2c305e0364657752d85b5c5fd
parente52ed092cde21d13533df32eb68629a980d69b4b
trusty: Fix return value of trusty_init()

The value used to signal failure is 0. It is needed to return a different
value on success.

Change-Id: I2186aa7dfbfc825bfe7b3d5ae3c4de7af10ee44f
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
services/spd/trusty/trusty.c