watchdog: bcm2835: Ignore params after the partition number
authorTim Gover <tim.gover@raspberrypi.org>
Thu, 22 Oct 2020 14:30:55 +0000 (15:30 +0100)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:33:06 +0000 (11:33 +0000)
commit514a837a206f43942e5a7b97a37a045e7c1c95f2
tree1e8251b4d4757e1b12f7f7100f33b8c80021e1f9
parentc11e5ec26ce22a97917d1a266f2d6cb13252e7d2
watchdog: bcm2835: Ignore params after the partition number

Use sscanf to extract the partition number and ignore extra parameters
which are only relevant to other reboot notifiers.
drivers/watchdog/bcm2835_wdt.c