Searched refs:set_page_clients (Results 1 – 1 of 1) sorted by relevance
48 struct i2c_client *set_page_clients[EE1004_NUM_PAGES]; member73 err = i2c_smbus_read_byte(bus->set_page_clients[0]); in ee1004_get_current_page()95 ret = i2c_smbus_write_byte(bus->set_page_clients[page], 0x00); in ee1004_set_current_page()175 i2c_unregister_device(bus->set_page_clients[1]); in ee1004_bus_unregister()176 i2c_unregister_device(bus->set_page_clients[0]); in ee1004_bus_unregister()194 bus->set_page_clients[0] = i2c_new_dummy_device(adapter, EE1004_ADDR_SET_PAGE0); in ee1004_bus_initialize()195 if (IS_ERR(bus->set_page_clients[0])) in ee1004_bus_initialize()196 return PTR_ERR(bus->set_page_clients[0]); in ee1004_bus_initialize()199 if (IS_ERR(bus->set_page_clients[1])) { in ee1004_bus_initialize()200 i2c_unregister_device(bus->set_page_clients[0]); in ee1004_bus_initialize()[all …]