airo: correct proc entry creation interfaces
authorAlexey Dobriyan <adobriyan@gmail.com>
Fri, 13 May 2011 21:12:48 +0000 (00:12 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 16 May 2011 18:25:28 +0000 (14:25 -0400)
commit011159a0a746e03ae42d559ce5c2a70138da3129
treec91c05bd65fc32dde3cdb07933e07d2ba92b6d72
parent9368a9a2378ab721f82f59430a135b4ce4ff5109
airo: correct proc entry creation interfaces

* use proc_mkdir_mode() instead of create_proc_entry(S_IFDIR|...),
  export proc_mkdir_mode() for that, oh well.
* don't supply S_IFREG to proc_create_data(), it's unnecessary

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/airo.c
fs/proc/generic.c