Searched refs:keywest_ctx (Results 1 – 1 of 1) sorted by relevance
20 static struct pmac_keywest *keywest_ctx; variable29 if (!keywest_ctx->client) in keywest_probe()30 keywest_ctx->client = client; in keywest_probe()31 i2c_set_clientdata(client, keywest_ctx); in keywest_probe()44 if (! keywest_ctx) in keywest_attach_adapter()52 info.addr = keywest_ctx->addr; in keywest_attach_adapter()53 keywest_ctx->client = i2c_new_device(adapter, &info); in keywest_attach_adapter()54 if (!keywest_ctx->client) in keywest_attach_adapter()61 if (!keywest_ctx->client->dev.driver) { in keywest_attach_adapter()62 i2c_unregister_device(keywest_ctx->client); in keywest_attach_adapter()[all …]