OSDN Git Service

memory: atmel-ebi: fix return value check in at91_ebi_dev_disable()
authorWei Yongjun <weiyongjun1@huawei.com>
Fri, 16 Sep 2016 13:03:47 +0000 (13:03 +0000)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Thu, 20 Oct 2016 09:59:22 +0000 (11:59 +0200)
commitecc2d430fadfba408b1d453d82128a696fa73fe0
treec456dd8976d1c3f567d89851fd00888cfd1b8fb5
parent1001354ca34179f3db924eb66672442a173147dc
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>
drivers/memory/atmel-ebi.c