summaryrefslogtreecommitdiffstats
path: root/drivers/powercap
diff options
context:
space:
mode:
authorTom Rix <trix@redhat.com>2020-11-01 06:11:29 -0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2020-11-02 18:04:34 +0100
commita8193af7ec0db73c0c86d02a5d5ffc1dc2ab4e88 (patch)
tree58597b3197f88867edb4d23e8b64b8459156fd77 /drivers/powercap
parent3cea11cd5e3b00d91caf0b4730194039b45c5891 (diff)
downloadlinux-a8193af7ec0db73c0c86d02a5d5ffc1dc2ab4e88.tar.gz
linux-a8193af7ec0db73c0c86d02a5d5ffc1dc2ab4e88.tar.bz2
linux-a8193af7ec0db73c0c86d02a5d5ffc1dc2ab4e88.zip
powercap/intel_rapl: remove unneeded semicolon
A semicolon is not needed after a switch statement. Signed-off-by: Tom Rix <trix@redhat.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/powercap')
-rw-r--r--drivers/powercap/intel_rapl_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/powercap/intel_rapl_common.c b/drivers/powercap/intel_rapl_common.c
index 0b2830efc574..70d6d52bc1e2 100644
--- a/drivers/powercap/intel_rapl_common.c
+++ b/drivers/powercap/intel_rapl_common.c
@@ -620,7 +620,7 @@ static u64 rapl_unit_xlate(struct rapl_domain *rd, enum unit_type type,
case ARBITRARY_UNIT:
default:
return value;
- };
+ }
if (to_raw)
return div64_u64(value, units) * scale;