mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-09-02 15:25:38 +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:
@@ -4358,7 +4358,7 @@ sub adt7473_detect
|
|||||||
# 0x3f: Chip ID
|
# 0x3f: Chip ID
|
||||||
sub adt7490_detect
|
sub adt7490_detect
|
||||||
{
|
{
|
||||||
my ($file, $addr, $chip) = @_;
|
my ($file, $addr) = @_;
|
||||||
my $mid = i2c_smbus_read_byte_data($file, 0x3e);
|
my $mid = i2c_smbus_read_byte_data($file, 0x3e);
|
||||||
my $cid = i2c_smbus_read_byte_data($file, 0x3f);
|
my $cid = i2c_smbus_read_byte_data($file, 0x3f);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user