summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/rtd119x_wdt.c
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@bootlin.com>2023-03-07 20:25:36 +0100
committerMiquel Raynal <miquel.raynal@bootlin.com>2023-03-08 15:03:53 +0100
commit75f32f4b9d5263829d1d13f990000db929140559 (patch)
treeabf473d7cd2df2f5c215e2de9007fce5d178721e /drivers/watchdog/rtd119x_wdt.c
parent5cab06156aade17fbee2fd926bce8c503e55b2b5 (diff)
downloadlinux-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