Skip to content

Commit e169020

Browse files
authored
Merge pull request #22 from facebookincubator/drop-i2c-autodetect-address-list
bp4f_tmp401: drop i2c auto-detection address list
2 parents ee95924 + 66fc8e9 commit e169020

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

kmods/backports/bp4f_tmp401.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,6 @@ create_dummy_kmod(tmp401);
3434
#include <linux/regmap.h>
3535
#include <linux/slab.h>
3636

37-
/* Addresses to scan */
38-
static const unsigned short normal_i2c[] = { 0x48, 0x49, 0x4a, 0x4c, 0x4d,
39-
0x4e, 0x4f, I2C_CLIENT_END };
40-
4137
enum chips { tmp401, tmp411, tmp431, tmp432, tmp435 };
4238

4339
/*
@@ -775,7 +771,6 @@ static struct i2c_driver tmp401_driver = {
775771
.probe = tmp401_probe,
776772
.id_table = tmp401_id,
777773
.detect = tmp401_detect,
778-
.address_list = normal_i2c,
779774
};
780775

781776
module_i2c_driver(tmp401_driver);

0 commit comments

Comments
 (0)