rfkill: add type string helper
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Mon, 23 Jun 2008 20:23:04 +0000 (17:23 -0300)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 26 Jun 2008 18:21:21 +0000 (14:21 -0400)
commit99c632e5a304e1f76350eb9e8b2493514de8b60c
tree81eb9f9494a377d377ab57357adf7a37253d25e8
parent79399a8d1908f6a406e82d23c5a9937e1722ed3a
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>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/rfkill/rfkill.c