All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Brownell <david-b@pacbell.net>
To: spi-devel-general@lists.sourceforge.net, dpervushin@ru.mvista.com
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [spi-devel-general] [PATCH] spi: add bus methods instead of driver's ones
Date: Tue, 10 Jan 2006 07:05:12 -0800	[thread overview]
Message-ID: <200601100705.13313.david-b@pacbell.net> (raw)
In-Reply-To: <1136893627.4780.9.camel@diimka-laptop>

On Tuesday 10 January 2006 3:47 am, dmitry pervushin wrote:
> The patch below replaces probe/remove/shutdown functions in device_driver
> structure by corresponding methods of spi_bus_type. 

> Signed-off-by: dmitry pervushin <dpervushin@ru.mvista.com>
> Index: linux-2.6.15.y/drivers/spi/spi.c
> ===================================================================
> --- linux-2.6.15.y.orig/drivers/spi/spi.c
> +++ linux-2.6.15.y/drivers/spi/spi.c
> @@ -125,42 +125,40 @@ struct bus_type spi_bus_type = {
>  	.dev_attrs	= spi_dev_attrs,
>  	.match		= spi_match_device,
>  	.uevent		= spi_uevent,
> +	.probe		= spi_bus_probe,
> +	.remove		= spi_bus_remove,
> +	.shutdown	= spi_bus_shutdown,
>  	.suspend	= spi_suspend,
>  	.resume		= spi_resume,
>  };

What kernel are you using here?  The one I'm looking at -- GIT snapshot
as of a few minutes ago -- doesn't have probe(), remove(), or shutdown()
methods in "struct bus_type".  I don't recall that it ever had such...




  reply	other threads:[~2006-01-10 15:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-10 11:47 [PATCH] spi: add bus methods instead of driver's ones dmitry pervushin
2006-01-10 15:05 ` David Brownell [this message]
2006-01-10 15:11   ` [spi-devel-general] " dmitry pervushin
2006-01-10 16:05     ` David Brownell

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=200601100705.13313.david-b@pacbell.net \
    --to=david-b@pacbell.net \
    --cc=dpervushin@ru.mvista.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=spi-devel-general@lists.sourceforge.net \
    /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.