ath79: fix missing return statement in ar934x_nand
authorDavid Bauer <mail@david-bauer.net>
Sun, 22 Mar 2020 19:06:23 +0000 (20:06 +0100)
committerDavid Bauer <mail@david-bauer.net>
Sun, 22 Mar 2020 19:09:44 +0000 (20:09 +0100)
commitf1f8700d546414c733ee823c6c0a050e23e6fd07
tree4d6999110a26dfddd4752fb5e8521d4b68304c31
parent94c0926106a28189eb5e15ab1b3c182c87796f8e
ath79: fix missing return statement in ar934x_nand

The reset assert and deassert methods currently miss
a return value, leading to a compilation warning.

Return the return-value of reset_control_assert and
reset_control_deassert to fix these warnings.

Suggested-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
Signed-off-by: David Bauer <mail@david-bauer.net>
target/linux/ath79/files/drivers/mtd/nand/raw/ar934x_nand.c