Searched refs:gpadc_page (Results 1 – 2 of 2) sorted by relevance
437 subchip->gpadc_page = i2c_new_dummy_device(client->adapter, in pm800_pages_init()439 if (IS_ERR(subchip->gpadc_page)) { in pm800_pages_init()440 ret = PTR_ERR(subchip->gpadc_page); in pm800_pages_init()444 subchip->regmap_gpadc = devm_regmap_init_i2c(subchip->gpadc_page, in pm800_pages_init()452 i2c_set_clientdata(subchip->gpadc_page, chip); in pm800_pages_init()467 if (subchip && subchip->gpadc_page) in pm800_pages_exit()468 i2c_unregister_device(subchip->gpadc_page); in pm800_pages_exit()
284 struct i2c_client *gpadc_page; /* chip client for gpadc page */ member