Searched refs:keywest_ctx (Results 1 – 1 of 1) sorted by relevance
33 static struct pmac_keywest *keywest_ctx; variable42 if (!keywest_ctx->client) in keywest_probe()43 keywest_ctx->client = client; in keywest_probe()44 i2c_set_clientdata(client, keywest_ctx); in keywest_probe()57 if (! keywest_ctx) in keywest_attach_adapter()65 info.addr = keywest_ctx->addr; in keywest_attach_adapter()66 keywest_ctx->client = i2c_new_device(adapter, &info); in keywest_attach_adapter()67 if (!keywest_ctx->client) in keywest_attach_adapter()74 if (!keywest_ctx->client->dev.driver) { in keywest_attach_adapter()75 i2c_unregister_device(keywest_ctx->client); in keywest_attach_adapter()[all …]