Skip to content

Commit

Permalink
REVERTME: decl-after-label
Browse files Browse the repository at this point in the history
Signed-off-by: James Calligeros <jcalligeros99@gmail.com>
  • Loading branch information
chadmed committed Apr 26, 2024
1 parent fa5d47b commit 306ee43
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/hwmon/macsmc-hwmon.c
Expand Up @@ -96,10 +96,11 @@ static int macsmc_hwmon_read_key(struct apple_smc *smc,
long *val)
{
int ret = 0;
u32 flt_ = 0;
//u32 flt_ = 0;

switch (sensor->info.type_code) {
case _SMC_KEY("flt "):
u32 flt_;
ret = apple_smc_read_f32_scaled(smc, sensor->macsmc_key, &flt_,
scale);
*val = flt_;
Expand Down

0 comments on commit 306ee43

Please sign in to comment.