Searched refs:atp_rfk (Results 1 – 1 of 1) sorted by relevance
1152 struct tpacpi_rfk *atp_rfk; in tpacpi_new_rfkill() local1160 atp_rfk = kzalloc_obj(struct tpacpi_rfk); in tpacpi_new_rfkill()1161 if (atp_rfk) in tpacpi_new_rfkill()1162 atp_rfk->rfkill = rfkill_alloc(name, in tpacpi_new_rfkill()1166 atp_rfk); in tpacpi_new_rfkill()1167 if (!atp_rfk || !atp_rfk->rfkill) { in tpacpi_new_rfkill()1169 kfree(atp_rfk); in tpacpi_new_rfkill()1173 atp_rfk->id = id; in tpacpi_new_rfkill()1174 atp_rfk->ops = tp_rfkops; in tpacpi_new_rfkill()1185 rfkill_init_sw_state(atp_rfk->rfkill, sw_state); in tpacpi_new_rfkill()[all …]