Searched refs:anx7688 (Results 1 – 1 of 1) sorted by relevance
101 struct cros_ec_anx7688 *anx7688; in cros_ec_anx7688_bridge_probe() local106 anx7688 = devm_kzalloc(dev, sizeof(*anx7688), GFP_KERNEL); in cros_ec_anx7688_bridge_probe()107 if (!anx7688) in cros_ec_anx7688_bridge_probe()110 anx7688->client = client; in cros_ec_anx7688_bridge_probe()111 i2c_set_clientdata(client, anx7688); in cros_ec_anx7688_bridge_probe()113 anx7688->regmap = devm_regmap_init_i2c(client, &cros_ec_anx7688_regmap_config); in cros_ec_anx7688_bridge_probe()114 if (IS_ERR(anx7688->regmap)) { in cros_ec_anx7688_bridge_probe()115 ret = PTR_ERR(anx7688->regmap); in cros_ec_anx7688_bridge_probe()121 ret = regmap_bulk_read(anx7688->regmap, ANX7688_VENDOR_ID_REG, in cros_ec_anx7688_bridge_probe()136 ret = regmap_bulk_read(anx7688->regmap, ANX7688_FW_VERSION_REG, in cros_ec_anx7688_bridge_probe()[all …]