From: Jonathan Cameron <jic23@kernel.org>
To: Hartmut Knaack <knaack.h@gmx.de>,
George McCollister <george.mccollister@gmail.com>,
mranostay@gmail.com
Cc: linux-iio@vger.kernel.org
Subject: Re: [PATCH 2/2] iio: as3935: Remove unnecessary semicolons
Date: Wed, 05 Nov 2014 13:48:30 +0000 [thread overview]
Message-ID: <545A2AAE.2080304@kernel.org> (raw)
In-Reply-To: <54594854.5000808@gmx.de>
On 04/11/14 21:42, Hartmut Knaack wrote:
> George McCollister schrieb am 31.10.2014 16:44:
>> Signed-off-by: George McCollister <george.mccollister@gmail.com>
> Acked-by: Hartmut Knaack <knaack.h@gmx.de>
Applied to the togreg branch of iio.git - initially pushed out as testing
for the autobuilders to play.
Jonathan
>> ---
>> drivers/iio/proximity/as3935.c | 16 ++++++++--------
>> 1 file changed, 8 insertions(+), 8 deletions(-)
>>
>> diff --git a/drivers/iio/proximity/as3935.c b/drivers/iio/proximity/as3935.c
>> index 8349cc0..466aa43 100644
>> --- a/drivers/iio/proximity/as3935.c
>> +++ b/drivers/iio/proximity/as3935.c
>> @@ -95,7 +95,7 @@ static int as3935_read(struct as3935_state *st, unsigned int reg, int *val)
>> *val = ret;
>>
>> return 0;
>> -};
>> +}
>>
>> static int as3935_write(struct as3935_state *st,
>> unsigned int reg,
>> @@ -107,7 +107,7 @@ static int as3935_write(struct as3935_state *st,
>> buf[1] = val;
>>
>> return spi_write(st->spi, buf, 2);
>> -};
>> +}
>>
>> static ssize_t as3935_sensor_sensitivity_show(struct device *dev,
>> struct device_attribute *attr,
>> @@ -122,7 +122,7 @@ static ssize_t as3935_sensor_sensitivity_show(struct device *dev,
>> val = (val & AS3935_AFE_MASK) >> 1;
>>
>> return sprintf(buf, "%d\n", val);
>> -};
>> +}
>>
>> static ssize_t as3935_sensor_sensitivity_store(struct device *dev,
>> struct device_attribute *attr,
>> @@ -142,7 +142,7 @@ static ssize_t as3935_sensor_sensitivity_store(struct device *dev,
>> as3935_write(st, AS3935_AFE_GAIN, val << 1);
>>
>> return len;
>> -};
>> +}
>>
>> static IIO_DEVICE_ATTR(sensor_sensitivity, S_IRUGO | S_IWUSR,
>> as3935_sensor_sensitivity_show, as3935_sensor_sensitivity_store, 0);
>> @@ -214,7 +214,7 @@ err_read:
>> iio_trigger_notify_done(indio_dev->trig);
>>
>> return IRQ_HANDLED;
>> -};
>> +}
>>
>> static const struct iio_trigger_ops iio_interrupt_trigger_ops = {
>> .owner = THIS_MODULE,
>> @@ -238,7 +238,7 @@ static void as3935_event_work(struct work_struct *work)
>> dev_warn(&st->spi->dev, "noise level is too high");
>> break;
>> }
>> -};
>> +}
>>
>> static irqreturn_t as3935_interrupt_handler(int irq, void *private)
>> {
>> @@ -417,7 +417,7 @@ unregister_trigger:
>> iio_trigger_unregister(st->trig);
>>
>> return ret;
>> -};
>> +}
>>
>> static int as3935_remove(struct spi_device *spi)
>> {
>> @@ -429,7 +429,7 @@ static int as3935_remove(struct spi_device *spi)
>> iio_trigger_unregister(st->trig);
>>
>> return 0;
>> -};
>> +}
>>
>> static const struct spi_device_id as3935_id[] = {
>> {"as3935", 0},
>>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-iio" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
next prev parent reply other threads:[~2014-11-05 13:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-31 15:44 [PATCH 1/2] iio: as3935: allocate correct iio_device size George McCollister
2014-10-31 15:44 ` [PATCH 2/2] iio: as3935: Remove unnecessary semicolons George McCollister
2014-11-04 21:42 ` Hartmut Knaack
2014-11-05 13:48 ` Jonathan Cameron [this message]
2014-11-04 21:42 ` [PATCH 1/2] iio: as3935: allocate correct iio_device size Hartmut Knaack
2014-11-05 13:45 ` Jonathan Cameron
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=545A2AAE.2080304@kernel.org \
--to=jic23@kernel.org \
--cc=george.mccollister@gmail.com \
--cc=knaack.h@gmx.de \
--cc=linux-iio@vger.kernel.org \
--cc=mranostay@gmail.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.