mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ronald Bultje <rbultje@ronald.bitfreak.net>
To: linux-kernel@vger.kernel.org
Subject: i2c_inc/dec_use_client in 2.5.x?
Date: 21 Mar 2003 16:57:44 +0100	[thread overview]
Message-ID: <1048262264.11545.52.camel@ph58212.pharm.uu.nl> (raw)

Hey,

what happened to above-mentioned functions? Well, yes, I can see that
they're removed in 2.5.65 (probably earlier, I can't find them in any
2.5.x version), but why? Aren't the i2c client modules supposed to keep
their use count dynamically anymore? i2c_client->inc/dec_use are gone
too...

I had a short look at the saa7111 file (drivers/media/video/saa7111.c),
and it seems to keep use count in the attach/detach callbacks. Is this
the way to go? In the documentation (probably from 2.4.x), developers
were told this was stupid (Documentation/i2c/writing-clients). What's
the current 'policy'?

Thanks,

Ronald
(please CC, I'm not subscribed)

-- 
Ronald Bultje <rbultje@ronald.bitfreak.net>
Linux Video/Multimedia developer


             reply	other threads:[~2003-03-21 15:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-21 15:57 Ronald Bultje [this message]
2003-03-21 16:08 ` Christoph Hellwig

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=1048262264.11545.52.camel@ph58212.pharm.uu.nl \
    --to=rbultje@ronald.bitfreak.net \
    --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

all inboxes | Powered by JetHome®