2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-31 06:15:15 +00:00

Minor cleanup in adt7490_detect().

git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5818 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare
2010-01-18 16:22:07 +00:00
parent 9322291a6b
commit 8d5e35625a

View File

@@ -4358,7 +4358,7 @@ sub adt7473_detect
# 0x3f: Chip ID
sub adt7490_detect
{
my ($file, $addr, $chip) = @_;
my ($file, $addr) = @_;
my $mid = i2c_smbus_read_byte_data($file, 0x3e);
my $cid = i2c_smbus_read_byte_data($file, 0x3f);