]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: rawnand: remove misguided comment of nand_get_device()
authorChenXiaoSong <chenxiaosong2@huawei.com>
Fri, 19 Aug 2022 02:18:46 +0000 (10:18 +0800)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 21 Sep 2022 08:38:46 +0000 (10:38 +0200)
commit83c47c2fa0f7064d9f06f352062d19c5dc49a426
treedc8f989f85730f2b540c3841508ba0e643038f6d
parent38e321a2a903f6a8ce906b700779cbdf2cda03f8
mtd: rawnand: remove misguided comment of nand_get_device()

After commit f57383e24ff1 ("mtd: rawnand: protect access to rawnand devices
while in suspend"), it will wait while in suspend rather than returning
errors. So remove the misguided comment about return value.

Signed-off-by: ChenXiaoSong <chenxiaosong2@huawei.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20220819021846.2924539-1-chenxiaosong2@huawei.com
drivers/mtd/nand/raw/nand_base.c