public inbox for linux-i2c@vger.kernel.org
 help / color / mirror / Atom feed
From: Jean Delvare <khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org>
To: jonsmirl-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Cc: linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: Registering i2c devices with Device Tree
Date: Sun, 25 Mar 2012 20:41:50 +0200	[thread overview]
Message-ID: <20120325204150.20d3dcdb@endymion.delvare> (raw)
In-Reply-To: <CAKON4Oy5hSpDS4mpJHL-Nk95+9MMSwUqE6TXnvH2wn2XaNA68Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

On Sun, 25 Mar 2012 13:29:51 -0400, jonsmirl-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:
> All of the OF aware i2c bus drivers need to do:
> 	of_i2c_register_devices(&alg_data->adapter);
> 
> Can this be moved to the common core code?

I seem to recall that someone once proposed to move the call to
i2c-core, but the dependencies and #ifdef mess that resulted made me
reject it. That doesn't mean it can't be done, but just moving the call
is not the way.

-- 
Jean Delvare

  parent reply	other threads:[~2012-03-25 18:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-25 17:29 Registering i2c devices with Device Tree jonsmirl-Re5JQEeQqe8AvxtiuMwx3w
     [not found] ` <CAKON4Oy5hSpDS4mpJHL-Nk95+9MMSwUqE6TXnvH2wn2XaNA68Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-03-25 18:41   ` Jean Delvare [this message]
     [not found]     ` <20120325204150.20d3dcdb-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org>
2012-03-25 18:49       ` jonsmirl-Re5JQEeQqe8AvxtiuMwx3w

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=20120325204150.20d3dcdb@endymion.delvare \
    --to=khali-puyad+kwke1g9huczpvpmw@public.gmane.org \
    --cc=jonsmirl-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.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