diff options
author | Miquel Raynal <miquel.raynal@bootlin.com> | 2023-03-07 20:25:36 +0100 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2023-03-08 15:03:53 +0100 |
commit | 75f32f4b9d5263829d1d13f990000db929140559 (patch) | |
tree | abf473d7cd2df2f5c215e2de9007fce5d178721e /drivers/watchdog/rtd119x_wdt.c | |
parent | 5cab06156aade17fbee2fd926bce8c503e55b2b5 (diff) | |
download | linux-75f32f4b9d5263829d1d13f990000db929140559.tar.gz linux-75f32f4b9d5263829d1d13f990000db929140559.tar.bz2 linux-75f32f4b9d5263829d1d13f990000db929140559.zip |
mtd: Avoid magic values
Nvmem producer config ID "-1" is actually defined, so use the definition
rather than hardcoding it with a magic value.
Suggested-by: Michael Walle <michael@walle.cc>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Michael Walle <michael@walle.cc>
Link: https://lore.kernel.org/linux-mtd/20230307192536.470997-1-miquel.raynal@bootlin.com
Diffstat (limited to 'drivers/watchdog/rtd119x_wdt.c')
0 files changed, 0 insertions, 0 deletions