Searched refs:i2c_pri (Results 1 – 2 of 2) sorted by relevance
40 static int bcm590xx_i2c_probe(struct i2c_client *i2c_pri) in bcm590xx_i2c_probe() argument45 bcm590xx = devm_kzalloc(&i2c_pri->dev, sizeof(*bcm590xx), GFP_KERNEL); in bcm590xx_i2c_probe()49 i2c_set_clientdata(i2c_pri, bcm590xx); in bcm590xx_i2c_probe()50 bcm590xx->dev = &i2c_pri->dev; in bcm590xx_i2c_probe()51 bcm590xx->i2c_pri = i2c_pri; in bcm590xx_i2c_probe()53 bcm590xx->regmap_pri = devm_regmap_init_i2c(i2c_pri, in bcm590xx_i2c_probe()57 dev_err(&i2c_pri->dev, "primary regmap init failed: %d\n", ret); in bcm590xx_i2c_probe()62 bcm590xx->i2c_sec = i2c_new_dummy_device(i2c_pri->adapter, in bcm590xx_i2c_probe()63 i2c_pri->addr | BIT(2)); in bcm590xx_i2c_probe()65 dev_err(&i2c_pri->dev, "failed to add secondary I2C device\n"); in bcm590xx_i2c_probe()[all …]
22 struct i2c_client *i2c_pri; member