Searched refs:atp_rfk (Results 1 – 1 of 1) sorted by relevance
1250 struct tpacpi_rfk *atp_rfk; in tpacpi_new_rfkill() local1258 atp_rfk = kzalloc(sizeof(struct tpacpi_rfk), GFP_KERNEL); in tpacpi_new_rfkill()1259 if (atp_rfk) in tpacpi_new_rfkill()1260 atp_rfk->rfkill = rfkill_alloc(name, in tpacpi_new_rfkill()1264 atp_rfk); in tpacpi_new_rfkill()1265 if (!atp_rfk || !atp_rfk->rfkill) { in tpacpi_new_rfkill()1267 kfree(atp_rfk); in tpacpi_new_rfkill()1271 atp_rfk->id = id; in tpacpi_new_rfkill()1272 atp_rfk->ops = tp_rfkops; in tpacpi_new_rfkill()1283 rfkill_init_sw_state(atp_rfk->rfkill, sw_state); in tpacpi_new_rfkill()[all …]