commit | 1b50221738108c438d5f25c7a043fb89e9e27044 | [log] [tgz] |
---|---|---|
author | Denis V. Lunev <[email protected]> | Tue Apr 29 01:02:34 2008 -0700 |
committer | Linus Torvalds <[email protected]> | Tue Apr 29 08:06:22 2008 -0700 |
tree | 510b2baf0675fee9ce450b6756ff36c77e2f626c | |
parent | 0fd689468231cb5eee9cc5d6331081b77c7a7a76 [diff] |
drivers: use non-racy method for proc entries creation Use proc_create()/proc_create_data() to make sure that ->proc_fops and ->data be setup before gluing PDE to main tree. Signed-off-by: Denis V. Lunev <[email protected]> Acked-by: Greg Kroah-Hartman <[email protected]> Cc: Alexey Dobriyan <[email protected]> Cc: "Eric W. Biederman" <[email protected]> Acked-by: Dmitry Torokhov <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>