struct bt_sock_list* sk_list,
int (* seq_show)(struct seq_file *, void *))
{
struct bt_sock_list* sk_list,
int (* seq_show)(struct seq_file *, void *))
{
- pde = proc_create(name, 0, net->proc_net, &bt_fops);
- if (!pde)
+ if (!proc_create_data(name, 0, net->proc_net, &bt_fops, sk_list))