Lines Matching refs:max17047
42 struct i2c_client *max17047; member
83 struct i2c_client **max17047 = data; in cht_int33fe_check_for_max17047() local
97 *max17047 = to_i2c_client(dev); in cht_int33fe_check_for_max17047()
229 struct i2c_client *max17047 = NULL; in cht_int33fe_register_max17047() local
238 i2c_for_each_dev(&max17047, cht_int33fe_check_for_max17047); in cht_int33fe_register_max17047()
239 if (max17047) { in cht_int33fe_register_max17047()
242 max17047->dev.fwnode->secondary = fwnode; in cht_int33fe_register_max17047()
244 ret = device_reprobe(&max17047->dev); in cht_int33fe_register_max17047()
254 data->max17047 = i2c_acpi_new_device(dev, 1, &board_info); in cht_int33fe_register_max17047()
256 return PTR_ERR_OR_ZERO(data->max17047); in cht_int33fe_register_max17047()
376 i2c_unregister_device(data->max17047); in cht_int33fe_probe()
390 i2c_unregister_device(data->max17047); in cht_int33fe_remove()