* [KJ] register_chrdev could be replaced by cdev_init
@ 2005-08-10 22:29 trem
2005-08-13 18:05 ` Tobias Klauser
0 siblings, 1 reply; 2+ messages in thread
From: trem @ 2005-08-10 22:29 UTC (permalink / raw)
To: kernel-janitors
Hi all
I've investigated about char device, and I discover that "register_chrdev"
is an old way to register char driver. The new way (good one ?) is
"cdev_init".
"register_chrdev" is still used in 2.6.13-rc6:
> find . -name "*.c" -exec grep -l register_chrdev {} \; | wc -l
> 85
I propose to add this change ("register_chrdev" -> "cdev_init") on the
kerneljanitor TODO list.
regards,
trem
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-08-13 18:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-10 22:29 [KJ] register_chrdev could be replaced by cdev_init trem
2005-08-13 18:05 ` Tobias Klauser
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.