linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: peter.fordham@gmail.com (Peter Fordham)
To: linux-arm-kernel@lists.infradead.org
Subject: [MPCore Watchdog]: Convert from misc_dev to dynamic device node.
Date: Wed, 15 Jun 2011 12:36:01 -0700	[thread overview]
Message-ID: <BANLkTin2vBCpiEMcLFTEJ1koUmdTQd11eQ@mail.gmail.com> (raw)
In-Reply-To: <20110615190945.GA2518@pulham.picochip.com>

The framework looks great. I hope it gets in soon.

> If you use a bus then the device creation is slightly more involved than
> with a class - create the bus, allocate the device and assign the
> bus_type then set the name with dev_set_name(). ?That should be enough
> for udev to work out the name of the device.

It's a platform device so it's already on the platform bus under:

/sys/devices/platform/mpcore_wdt

Do I need to create another bus? The platform driver name is used in driver
matching so it doesn't seem like the right thing to do to change it to watchdog.

-Pete

  reply	other threads:[~2011-06-15 19:36 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-14 23:29 [MPCore Watchdog]: Convert from misc_dev to dynamic device node Peter Fordham
2011-06-14 23:48 ` Jamie Iles
2011-06-15  0:19   ` Peter Fordham
2011-06-15  8:58     ` Jamie Iles
2011-06-15 18:57       ` Peter Fordham
2011-06-15 19:09         ` Jamie Iles
2011-06-15 19:36           ` Peter Fordham [this message]
2011-06-15 19:37             ` Peter Fordham
2011-06-15 19:36           ` Arnd Bergmann
2011-06-15 19:49             ` Peter Fordham
2011-06-15 20:03               ` Arnd Bergmann
2011-06-17  7:20             ` Wim Van Sebroeck
2011-06-17  7:17         ` Wim Van Sebroeck
2011-06-17  7:14       ` Wim Van Sebroeck

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=BANLkTin2vBCpiEMcLFTEJ1koUmdTQd11eQ@mail.gmail.com \
    --to=peter.fordham@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).