Searched refs:gpadc_page (Results 1 – 2 of 2) sorted by relevance
447 subchip->gpadc_page = i2c_new_dummy_device(client->adapter, in pm800_pages_init()449 if (IS_ERR(subchip->gpadc_page)) { in pm800_pages_init()450 ret = PTR_ERR(subchip->gpadc_page); in pm800_pages_init()454 subchip->regmap_gpadc = devm_regmap_init_i2c(subchip->gpadc_page, in pm800_pages_init()462 i2c_set_clientdata(subchip->gpadc_page, chip); in pm800_pages_init()477 if (subchip && subchip->gpadc_page) in pm800_pages_exit()478 i2c_unregister_device(subchip->gpadc_page); in pm800_pages_exit()
284 struct i2c_client *gpadc_page; /* chip client for gpadc page */ member