From 7c427dddf76ac66d79c464414aee83c2bac0c148 Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Mon, 1 Dec 2008 13:14:27 +0000 Subject: [PATCH] Strip trailing whitespace. git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5485 7894878c-1315-0410-8ee3-d5d059ff63e0 --- prog/detect/sensors-detect | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/prog/detect/sensors-detect b/prog/detect/sensors-detect index 55e0d12e..30d4a158 100755 --- a/prog/detect/sensors-detect +++ b/prog/detect/sensors-detect @@ -1627,7 +1627,7 @@ use vars qw(@superio_ids_natsemi @superio_ids_smsc @superio_ids_smsc_ns family => "VIA/Winbond/Fintek", guess => 0x290, enter => - { + { 0x2e => [0x87, 0x87], 0x4e => [0x87, 0x87], }, @@ -4304,7 +4304,7 @@ sub eeprom_detect $checksum += i2c_smbus_read_byte_data($file, $i); } $checksum &= 255; - + return 8 if $checksum == i2c_smbus_read_byte_data($file, 63); return; }