wl1271: move wl12xx debugfs directory to under wiphy's debugfs
authorEliad Peller <eliad@wizery.com>
Wed, 24 Nov 2010 10:53:16 +0000 (12:53 +0200)
committerLuciano Coelho <luciano.coelho@nokia.com>
Thu, 2 Dec 2010 14:17:11 +0000 (16:17 +0200)
commitd60080ae06b98790036104f07fa897cfc151ce12
tree940412af5144a5e1dbf713b73949feea3f07b2e2
parent7cb2cea9f0f207f819db9823413fa263175b6230
wl1271: move wl12xx debugfs directory to under wiphy's debugfs

Use per-device debugfs path, so multiple devices won't collide.

in order to use wl->hw->wiphy->debugfsdir, we have to move the debugfs
creation from wl1271_debugfs_init() to wl1271_register_hw().

Reported-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>
drivers/net/wireless/wl12xx/debugfs.c
drivers/net/wireless/wl12xx/main.c