Home
last modified time | relevance | path

Searched refs:atp_rfk (Results 1 – 1 of 1) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/platform/x86/
H A Dthinkpad_acpi.c1241 struct tpacpi_rfk *atp_rfk; in tpacpi_new_rfkill() local
1249 atp_rfk = kzalloc(sizeof(struct tpacpi_rfk), GFP_KERNEL); in tpacpi_new_rfkill()
1250 if (atp_rfk) in tpacpi_new_rfkill()
1251 atp_rfk->rfkill = rfkill_alloc(name, in tpacpi_new_rfkill()
1255 atp_rfk); in tpacpi_new_rfkill()
1256 if (!atp_rfk || !atp_rfk->rfkill) { in tpacpi_new_rfkill()
1258 kfree(atp_rfk); in tpacpi_new_rfkill()
1262 atp_rfk->id = id; in tpacpi_new_rfkill()
1263 atp_rfk->ops = tp_rfkops; in tpacpi_new_rfkill()
1274 rfkill_init_sw_state(atp_rfk->rfkill, sw_state); in tpacpi_new_rfkill()
[all …]