All of lore.kernel.org
 help / color / mirror / Atom feed
From: trem <trem@zarb.org>
To: kernel-janitors@vger.kernel.org
Subject: [KJ] register_chrdev could be replaced by cdev_init
Date: Wed, 10 Aug 2005 22:29:13 +0000	[thread overview]
Message-ID: <42FA9B4D.1020202@zarb.org> (raw)

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

             reply	other threads:[~2005-08-10 22:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-10 22:29 trem [this message]
2005-08-13 18:05 ` [KJ] register_chrdev could be replaced by cdev_init Tobias Klauser

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42FA9B4D.1020202@zarb.org \
    --to=trem@zarb.org \
    --cc=kernel-janitors@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.