watchdog: wdt285: Mark expected switch fall-through
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Tue, 20 Aug 2019 18:07:46 +0000 (13:07 -0500)
committerGustavo A. R. Silva <gustavo@embeddedor.com>
Wed, 21 Aug 2019 00:43:23 +0000 (19:43 -0500)
commitc9cbbb9f04f3ee27970f08d3aa6e6742a43d4ca5
treedb41b83adaa4ad0982b39f783a0c04606e3e30bf
parent3f0289cb9e0ee38e0075328e59b9cd88bf5ea474
watchdog: wdt285: Mark expected switch fall-through

Mark switch cases where we are expecting to fall through.

Fix the following warning (Building: footbridge_defconfig arm):

drivers/watchdog/wdt285.c: In function ‘watchdog_ioctl’:
drivers/watchdog/wdt285.c:170:3: warning: this statement may fall through [-Wimplicit-fallthrough=]
   watchdog_ping();
   ^~~~~~~~~~~~~~~
drivers/watchdog/wdt285.c:172:2: note: here
  case WDIOC_GETTIMEOUT:
  ^~~~

Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
drivers/watchdog/wdt285.c