All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@kernel.org>
To: Karol Wrona <k.wrona@samsung.com>,
	Antonio Borneo <borneo.antonio@gmail.com>,
	Lars-Peter Clausen <lars@metafoo.de>,
	linux-iio@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/6] iio: ssp_sensors: Remove redundant spi driver bus initialization
Date: Sun, 05 Jul 2015 14:07:12 +0100	[thread overview]
Message-ID: <55992C00.9060704@kernel.org> (raw)
In-Reply-To: <5591186F.6000505@samsung.com>

On 29/06/15 11:05, Karol Wrona wrote:
> On 06/23/2015 04:52 PM, Antonio Borneo wrote:
>> In ancient times it was necessary to manually initialize the bus
>> field of an spi_driver to spi_bus_type. These days this is done in
>> spi_register_driver(), so we can drop the manual assignment.
>>
>> Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
>> To: Jonathan Cameron <jic23@kernel.org>
>> To: Lars-Peter Clausen <lars@metafoo.de>
>> To: Karol Wrona <k.wrona@samsung.com>
>> To: linux-iio@vger.kernel.org
>> Cc: linux-kernel@vger.kernel.org
>> ---
>>  drivers/iio/common/ssp_sensors/ssp_dev.c | 1 -
>>  1 file changed, 1 deletion(-)
>>
>> diff --git a/drivers/iio/common/ssp_sensors/ssp_dev.c b/drivers/iio/common/ssp_sensors/ssp_dev.c
>> index 9a40097..d338bb5 100644
>> --- a/drivers/iio/common/ssp_sensors/ssp_dev.c
>> +++ b/drivers/iio/common/ssp_sensors/ssp_dev.c
>> @@ -700,7 +700,6 @@ static struct spi_driver ssp_driver = {
>>  	.remove = ssp_remove,
>>  	.driver = {
>>  		.pm = &ssp_pm_ops,
>> -		.bus = &spi_bus_type,
>>  		.owner = THIS_MODULE,
>>  		.of_match_table = of_match_ptr(ssp_of_match),
>>  		.name = "sensorhub"
>>
> Acked-by: Karol Wrona <k.wrona@samsung.com>
Applied to the togreg branch of iio.git

Thanks,

J
> 


  reply	other threads:[~2015-07-05 13:07 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-23 14:45 [PATCH 0/6] Remove redundant spi driver bus initialization Antonio Borneo
2015-06-23 14:45 ` Antonio Borneo
2015-06-23 14:49 ` [PATCH 1/6] ASoC: wm0010: " Antonio Borneo
2015-06-23 14:52 ` Antonio Borneo
2015-06-24  8:24   ` Charles Keepax
2015-07-03 14:10   ` Applied "ASoC: wm0010: Remove redundant spi driver bus initialization" to the asoc tree Mark Brown
2015-06-23 14:52 ` [PATCH 2/6] iio: ssp_sensors: Remove redundant spi driver bus initialization Antonio Borneo
2015-06-29 10:05   ` Karol Wrona
2015-07-05 13:07     ` Jonathan Cameron [this message]
2015-06-23 14:52 ` [PATCH 3/6] staging: mt29f_spinand: " Antonio Borneo
2015-06-23 14:52 ` [PATCH 4/6] net: ieee802154: " Antonio Borneo
2015-06-23 15:06   ` Varka Bhadram
2015-06-23 15:08   ` Alan Ott
2015-07-13 17:29   ` Alexander Aring
2015-07-14  5:07   ` Marcel Holtmann
2015-06-23 14:53 ` [PATCH 5/6] wireless: cw1200: " Antonio Borneo
2015-07-21 13:44   ` [5/6] " Kalle Valo
2015-06-23 14:53 ` [PATCH 6/6] [media] s5c73m3: " Antonio Borneo
2015-06-24  5:53   ` Andrzej Hajda

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=55992C00.9060704@kernel.org \
    --to=jic23@kernel.org \
    --cc=borneo.antonio@gmail.com \
    --cc=k.wrona@samsung.com \
    --cc=lars@metafoo.de \
    --cc=linux-iio@vger.kernel.org \
    --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 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.