Searched refs:keywest_ctx (Results 1 – 1 of 1) sorted by relevance
32 static struct pmac_keywest *keywest_ctx; variable38 i2c_set_clientdata(client, keywest_ctx); in keywest_probe()51 if (! keywest_ctx) in keywest_attach_adapter()59 info.addr = keywest_ctx->addr; in keywest_attach_adapter()60 keywest_ctx->client = i2c_new_device(adapter, &info); in keywest_attach_adapter()61 if (!keywest_ctx->client) in keywest_attach_adapter()68 if (!keywest_ctx->client->driver) { in keywest_attach_adapter()69 i2c_unregister_device(keywest_ctx->client); in keywest_attach_adapter()70 keywest_ctx->client = NULL; in keywest_attach_adapter()78 list_add_tail(&keywest_ctx->client->detected, in keywest_attach_adapter()[all …]