cpufreq: ti-cpufreq: Mark expected switch fall-through
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Mon, 29 Jul 2019 22:49:33 +0000 (17:49 -0500)
committerViresh Kumar <viresh.kumar@linaro.org>
Tue, 30 Jul 2019 02:40:45 +0000 (08:10 +0530)
commit51dbe89768289c32406f47ad89957b79220c1b63
tree6989f52f2b93f8c71496131bb9eba6b99f9012cc
parent3355c91b79394593ebbb197c8e930a91826f4ff3
cpufreq: ti-cpufreq: Mark expected switch fall-through

Mark switch cases where we are expecting to fall through.

This patch fixes the following warning (Building: arm):

drivers/cpufreq/ti-cpufreq.c: In function ‘dra7_efuse_xlate’:
drivers/cpufreq/ti-cpufreq.c:79:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
   calculated_efuse |= DRA7_EFUSE_HIGH_MPU_OPP;
drivers/cpufreq/ti-cpufreq.c:80:2: note: here
  case DRA7_EFUSE_HAS_OD_MPU_OPP:
  ^~~~

Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/cpufreq/ti-cpufreq.c