memory: atmel-ebi: fix return value check in at91_ebi_dev_disable()

Fix the retrn value check which testing the wrong variable
in at91_ebi_dev_disable().

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
This commit is contained in:
Wei Yongjun 2016-09-16 13:03:47 +00:00 • committed by Alexandre Belloni
commit ecc2d430fa