From: Dmitry Torokhov <dtor_core@ameritech.net>
To: Alessandro Zummo <alessandro.zummo@towertech.it>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH 5/8] RTC subsystem, dev interface
Date: Mon, 9 Jan 2006 01:39:29 -0500 [thread overview]
Message-ID: <200601090139.29556.dtor_core@ameritech.net> (raw)
In-Reply-To: <20060109041206.6115bafb@inspiron>
On Sunday 08 January 2006 22:12, Alessandro Zummo wrote:
> > > +/* interface registration */
> > > +
> > > +struct class_interface rtc_dev_interface = {
> > > + .add = &rtc_dev_add_device,
> > > + .remove = &rtc_dev_remove_device,
> > > +};
> > > +
> >
> > I wonder if doing rtc dev as a class device interface is a good idea.
> > It may be cleaner to fold it into the core.
>
> What the code implements is actually an interface, so this should
> be the riht place. It is also fully optional, everything could work
> without it. Probably the interface implementation hasn't all the primitives
> to handle this kind of work, but I'm not willing to go into that right now ;)
>
Yes, it is an interface. What I am trying to say - is it a main interface?
What is the preferred, most efficient way to interface with RTC? If it is
through this interface it may make sence to fold it into the core. Otherwise
do what input layer does and have interface create another class device which
reprsesents your /dev node.
--
Dmitry
next prev parent reply other threads:[~2006-01-09 6:39 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-08 23:12 [PATCH 0/8] RTC subsystem Alessandro Zummo
2006-01-08 23:12 ` [PATCH 1/8] RTC subsystem, class Alessandro Zummo
2006-01-08 23:12 ` [PATCH 2/8] RTC subsystem, ARM cleanup Alessandro Zummo
2006-01-08 23:12 ` [PATCH 3/8] RTC subsystem, sysfs interface Alessandro Zummo
[not found] ` <200601082102.40992.dtor_core@ameritech.net>
2006-01-09 2:13 ` Alessandro Zummo
2006-01-08 23:12 ` [PATCH 4/8] RTC subsystem, proc interface Alessandro Zummo
[not found] ` <200601082056.30227.dtor_core@ameritech.net>
2006-01-09 2:04 ` Alessandro Zummo
2006-01-09 2:50 ` Dmitry Torokhov
2006-01-08 23:12 ` [PATCH 5/8] RTC subsystem, dev interface Alessandro Zummo
2006-01-09 2:50 ` Dmitry Torokhov
2006-01-09 3:12 ` Alessandro Zummo
2006-01-09 6:39 ` Dmitry Torokhov [this message]
2006-01-09 9:14 ` Alessandro Zummo
2006-01-08 23:12 ` [PATCH 6/8] RTC subsystem, X1205 driver Alessandro Zummo
2006-01-08 23:12 ` [PATCH 7/8] RTC subsystem, test device/driver Alessandro Zummo
2006-01-08 23:12 ` [PATCH 8/8] RTC subsystem, DS1672 driver Alessandro Zummo
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=200601090139.29556.dtor_core@ameritech.net \
--to=dtor_core@ameritech.net \
--cc=alessandro.zummo@towertech.it \
--cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox