Commit 37e0024
mtd: rawnand: omap2: Suppress error message after WARN in .remove()
Returning an error value in a platform remove callback results in an error
message being emitted by the platform core, but otherwise it doesn't make
a difference. After the WARN splat this generic error message doesn't add
any value, so return 0 unconditionally
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20220603210758.148493-10-u.kleine-koenig@pengutronix.de1 parent 279d719 commit 37e0024
1 file changed
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2278 | 2278 | | |
2279 | 2279 | | |
2280 | 2280 | | |
2281 | | - | |
2282 | 2281 | | |
2283 | 2282 | | |
2284 | 2283 | | |
2285 | 2284 | | |
2286 | 2285 | | |
2287 | | - | |
2288 | | - | |
| 2286 | + | |
2289 | 2287 | | |
2290 | | - | |
| 2288 | + | |
2291 | 2289 | | |
2292 | 2290 | | |
2293 | 2291 | | |
| |||
0 commit comments