commit | 281f7a6c1a33fffcde32001bacbb4f672140fbf9 | [log] [tgz] |
---|---|---|
author | Michael Walle <michael@walle.cc> | Wed Mar 08 09:20:21 2023 +0100 |
committer | Miquel Raynal <miquel.raynal@bootlin.com> | Wed Mar 08 14:31:49 2023 +0100 |
tree | 7b0895e26d6dfb129a2375e30a1236de581c691e | |
parent | e0489f6e221f5ddee6cb3bd51b992b790c5fa4b9 [diff] |
mtd: core: prepare mtd_otp_nvmem_add() to handle -EPROBE_DEFER NVMEM soon will get the ability for nvmem layouts and these might not be ready when nvmem_register() is called and thus it might return -EPROBE_DEFER. Don't print the error message in this case. Signed-off-by: Michael Walle <michael@walle.cc> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20230308082021.870459-4-michael@walle.cc