projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2525a0a
)
mtd: rawnand: remove misguided comment of nand_get_device()
author
ChenXiaoSong
<chenxiaosong2@huawei.com>
Fri, 19 Aug 2022 02:18:46 +0000
(10:18 +0800)
committer
Miquel Raynal
<miquel.raynal@bootlin.com>
Wed, 21 Sep 2022 08:38:46 +0000
(10:38 +0200)
After commit
8cba323437a4
("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
patch
|
blob
|
history
diff --git
a/drivers/mtd/nand/raw/nand_base.c
b/drivers/mtd/nand/raw/nand_base.c
index 6b67b7dfe7ce69601534d80e50fc86434d8e2c43..5e99e4c96da4b0d7e6404948d956394215615c1e 100644
(file)
--- a/
drivers/mtd/nand/raw/nand_base.c
+++ b/
drivers/mtd/nand/raw/nand_base.c
@@
-335,8
+335,6
@@
static int nand_isbad_bbm(struct nand_chip *chip, loff_t ofs)
* @chip: NAND chip structure
*
* Lock the device and its controller for exclusive access
- *
- * Return: -EBUSY if the chip has been suspended, 0 otherwise
*/
static void nand_get_device(struct nand_chip *chip)
{