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, 21 Mar 2022 16:04:08 +0000 (16:04 +0000)
commit5233d874b7537659a38f136c9ca5b662058d3112
treed2b1a86818357093a6f2b892c371c7466006ded6
parentd9006b319fa8009a77755b53f21ec0cf07057397
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