From: Lars-Peter Clausen <lars@metafoo.de>
To: Johannes Thumshirn <johannes.thumshirn@men.de>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Jonathan Cameron <jic23@kernel.org>,
linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 3/3] iio: adc: Add MEN 16z188 ADC driver
Date: Tue, 18 Feb 2014 16:55:19 +0100 [thread overview]
Message-ID: <53038267.6080205@metafoo.de> (raw)
In-Reply-To: <1392737654-22682-4-git-send-email-johannes.thumshirn@men.de>
On top of what Peter said. Just some nitpicks...
[...]
> +static struct iio_chan_spec z188_adc_iio_channels[] = {
const
> + Z188_ADC_CHANNEL(0),
> + Z188_ADC_CHANNEL(1),
> + Z188_ADC_CHANNEL(2),
> + Z188_ADC_CHANNEL(3),
> + Z188_ADC_CHANNEL(4),
> + Z188_ADC_CHANNEL(5),
> + Z188_ADC_CHANNEL(6),
> + Z188_ADC_CHANNEL(7),
> +};
> +
[...]
> +static struct iio_info z188_adc_info = {
const
> + .read_raw = &z188_iio_read_raw,
> + .driver_module = THIS_MODULE,
> +};
> +
> +static void men_z188_remove(struct mcb_device *dev)
> +{
[...]
> + mcb_set_drvdata(dev, NULL);
This is already done by the device driver core.
> +}
[...]
> +static struct mcb_device_id men_z188_ids[] = {
const
> + { .device = 0xbc },
> +};
> +MODULE_DEVICE_TABLE(mcb, men_z188_ids);
next prev parent reply other threads:[~2014-02-18 15:55 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-18 15:34 [PATCH 0/3] drivers/mcb: Bus support for MEN Chameleon Bus Johannes Thumshirn
2014-02-18 15:34 ` [PATCH 1/3] drivers: Introduce " Johannes Thumshirn
2014-02-18 21:48 ` Greg Kroah-Hartman
2014-02-19 10:05 ` Johannes Thumshirn
2014-02-18 23:02 ` Josh Cartwright
2014-02-19 9:35 ` Johannes Thumshirn
2014-02-24 17:18 ` [PATCH v2 " Johannes Thumshirn
2014-02-18 15:34 ` [PATCH 2/3] mcb: Add PCI carrier for " Johannes Thumshirn
2014-02-18 23:20 ` Josh Cartwright
2014-02-19 9:46 ` Johannes Thumshirn
2014-02-24 17:17 ` Johannes Thumshirn
2014-02-18 15:34 ` [PATCH 3/3] iio: adc: Add MEN 16z188 ADC driver Johannes Thumshirn
2014-02-18 15:51 ` Peter Meerwald
2014-02-18 15:55 ` Lars-Peter Clausen [this message]
2014-02-18 19:17 ` Jonathan Cameron
2014-02-19 10:12 ` Johannes Thumshirn
2014-02-24 17:16 ` [PATCH v2 " Johannes Thumshirn
2014-02-25 20:42 ` 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=53038267.6080205@metafoo.de \
--to=lars@metafoo.de \
--cc=gregkh@linuxfoundation.org \
--cc=jic23@kernel.org \
--cc=johannes.thumshirn@men.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).