All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide.com>
To: Komal Shah <komal_shah802003@yahoo.com>
Cc: linux-omap-open-source@linux.omap.com
Subject: Re: [PATCH] OMAP1: camera core : Use platform driver structure
Date: Fri, 3 Mar 2006 11:52:34 -0800	[thread overview]
Message-ID: <20060303195234.GM4398@atomide.com> (raw)
In-Reply-To: <20060224103550.28867.qmail@web32915.mail.mud.yahoo.com>

* Komal Shah <komal_shah802003@yahoo.com> [060224 02:36]:
> --- "Zhang, Jian" <jzhang@ti.com> wrote:
> 
> > Komal,
> > 
> > Is there any guideline on the way a driver is registered with LDM?
> > e.g.
> > via driver_register() or platform_driver_register()? We are now
> > always
> > using omap_driver_register() which is a wrapper to driver_register().
> > 
> > Again, is this the trend to move the bulk of init code to probe()
> > function?
> 
> This one is very tricky question :) May be GregKH and RMK can do better
> justice :) 

Board specific init code should be in board-*.c files, and the rest in
probe(). The bus just matches the driver with the board specific code.

Regards,

Tony

  reply	other threads:[~2006-03-03 19:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-24  0:49 [PATCH] OMAP1: camera core : Use platform driver structure Zhang, Jian
2006-02-24 10:35 ` Komal Shah
2006-03-03 19:52   ` Tony Lindgren [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-02-24 14:28 Woodruff, Richard
2006-03-03 19:49 ` Tony Lindgren
2006-02-23 12:53 Komal Shah

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=20060303195234.GM4398@atomide.com \
    --to=tony@atomide.com \
    --cc=komal_shah802003@yahoo.com \
    --cc=linux-omap-open-source@linux.omap.com \
    /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.