Changeset 5435

Show
Ignore:
Timestamp:
11/26/08 18:17:29 (4 years ago)
Author:
khali
Message:

Reindent 2 functions.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/branches/lm-sensors-3.0.0/prog/detect/sensors-detect

    r5434 r5435  
    22952295sub initialize_modules_list 
    22962296{ 
    2297   open(local *INPUTFILE, "/proc/modules") or return; 
    2298   local $_; 
    2299   while (<INPUTFILE>) { 
    2300     tr/-/_/; # Probably not needed 
    2301     $modules_list{$1} = 1 if m/^(\S*)/; 
    2302   } 
     2297        local $_; 
     2298 
     2299        open(local *INPUTFILE, "/proc/modules") or return; 
     2300        while (<INPUTFILE>) { 
     2301                tr/-/_/; # Probably not needed 
     2302                $modules_list{$1} = 1 if m/^(\S*)/; 
     2303        } 
    23032304} 
    23042305 
     
    23332334sub initialize_modules_supported 
    23342335{ 
    2335   foreach my $chip (@chip_ids) { 
    2336     $modules_supported{$chip->{driver}}++; 
    2337   } 
     2336        foreach my $chip (@chip_ids) { 
     2337                $modules_supported{$chip->{driver}}++; 
     2338        } 
    23382339} 
    23392340