Revision 5274fdba8e3c04e9ac1ba457379afc8835f9aa0f authored by Gustavo A. R. Silva on 20 August 2019, 20:55:26 UTC, committed by Gustavo A. R. Silva on 21 August 2019, 00:43:33 UTC
Mark switch cases where we are expecting to fall through.

Fix the following warning (Building: allmodconfig arm):

drivers/power/supply/ab8500_charger.c: In function ‘ab8500_charger_max_usb_curr’:
drivers/power/supply/ab8500_charger.c:738:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
   if (di->vbus_detected) {
      ^
drivers/power/supply/ab8500_charger.c:745:2: note: here
  case USB_STAT_HM_IDGND:
  ^~~~

Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
1 parent c9cbbb9
History
File Mode Size
.gitignore -rw-r--r-- 24 bytes
Makefile -rw-r--r-- 3.8 KB

back to top