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