public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Plans to obsolete register_chrdev()?
@ 2006-06-09 15:00 Michael Opdenacker
  2006-06-12  8:14 ` Michael Opdenacker
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Opdenacker @ 2006-06-09 15:00 UTC (permalink / raw)
  To: Linux Kernel Mailing List

Hello,

In Linux 2.6, character device driver developers are supposed to use 
alloc_chrdev_region() and cdev_add() instead of register_chrdev(). See 
http://lwn.net/images/pdf/LDD3/ch03.pdf or http://lwn.net/Articles/126808/ .

However, in 2.6.16, there are still *very few* uses of cdev_add(). 
Compare http://lxr.free-electrons.com/ident?i=cdev_add to 
http://lxr.free-electrons.com/ident?i=register_chrdev .

Are there plans to officially obsolete register_chrdev() (in particular 
through Documentation/feature-removal-schedule.txt)?

Unless register_chrdev() is supposed to stay, I'll be glad to 
participate in converting character driver code. In particular, would 
updateds to drivers/chars/mem.c file be welcome?

Cheers,

    Michael.

-- 
Michael Opdenacker, Free Electrons
Free Embedded Linux Training Materials
on http://free-electrons.com/training
(More than 1000 pages!)


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-06-12  8:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-09 15:00 Plans to obsolete register_chrdev()? Michael Opdenacker
2006-06-12  8:14 ` Michael Opdenacker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox