rfkill: add type string helper
commit706c398fcf349ed7d70224364ddb62acb7efcf6d
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Thu, 9 Oct 2008 18:10:47 +0000 (9 15:10 -0300)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Thu, 9 Oct 2008 18:10:47 +0000 (9 15:10 -0300)
treec1240eaa89176594e2cd9c087e37673ccdb18272
parent9072cad06ea05741a6274d96d4dcd9fcda0baf3c
rfkill: add type string helper

We will need access to the rfkill switch type in string format for more
than just sysfs.  Therefore, move it to a generic helper.

Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Acked-by: Ivo van Doorn <IvDoorn@gmail.com>
net/rfkill/rfkill.c