All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lars-Peter Clausen <lars@metafoo.de>
To: Pirmin Duss <pirmin.duss@flytec.ch>
Cc: Jonathan Cameron <jic23@kernel.org>, linux-iio@vger.kernel.org
Subject: Re: [PATCH V3.1] adds support for Texas Instruments ads1110 adc
Date: Tue, 10 Jan 2012 10:57:30 +0100	[thread overview]
Message-ID: <4F0C0B8A.7040309@metafoo.de> (raw)
In-Reply-To: <1325842505-17619-1-git-send-email-pirmin.duss@flytec.ch>

On 01/06/2012 10:35 AM, Pirmin Duss wrote:
> From: Pirmin Duss (Flytec) <pirmin.duss@flytec.ch>
> 
[...]
> +
> +static struct i2c_driver ads1110_driver = {
> +	.driver = {
> +		.name = "ads1110",
> +	},
> +	.probe = ads1110_probe,
> +	.remove = __devexit_p(ads1110_remove),
> +	.id_table = ads1110_id,
> +};
> +
> +static int __init ads1110_init(void)
> +{
> +	return i2c_add_driver(&ads1110_driver);
> +}
> +module_init(ads1110_init);
> +
> +static void __exit ads1110_exit(void)
> +{
> +	i2c_del_driver(&ads1110_driver);
> +}
> +module_exit(ads1110_exit);

Now that staging-next contains this macro please use
module_i2c_driver(ads1110_driver) here.

           reply	other threads:[~2012-01-10  9:57 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <1325842505-17619-1-git-send-email-pirmin.duss@flytec.ch>]

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=4F0C0B8A.7040309@metafoo.de \
    --to=lars@metafoo.de \
    --cc=jic23@kernel.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=pirmin.duss@flytec.ch \
    /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.