From: Guenter Roeck <linux@roeck-us.net>
To: Jean Delvare <khali@linux-fr.org>
Cc: Vivien Didelot <vivien.didelot@savoirfairelinux.com>,
lm-sensors@lm-sensors.org, linux-kernel@vger.kernel.org
Subject: Re: [lm-sensors] [PATCH] hwmon: add Maxim MAX197 support
Date: Fri, 31 Aug 2012 16:07:50 +0000 [thread overview]
Message-ID: <20120831160750.GC5756@roeck-us.net> (raw)
In-Reply-To: <20120831163718.38144c01@endymion.delvare>
On Fri, Aug 31, 2012 at 04:37:18PM +0200, Jean Delvare wrote:
> On Thu, 30 Aug 2012 14:09:59 -0700, Guenter Roeck wrote:
> > I have the solution for the platform driver.
> >
> > enum chips { max197, max199 };
> >
> > [ ... ]
> >
> > static struct platform_device_id max197_driver_ids[] = {
> > {
> > .name = "max197",
> > .driver_data = max197,
> > }, {
> > .name = "max199",
> > .driver_data = max199,
> > }
> > };
> > MODULE_DEVICE_TABLE(platform, max197_driver_ids);
>
> Wow, I thought this did not exist and this made me rumble a number of
> times, and now I see this was finally introduced over 3 years ago.
> Cool! And spi has it too now, wonderful world :)
>
Same here ... and now I feel a bit embarassed that I didn't know :)
Guenter
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
WARNING: multiple messages have this Message-ID (diff)
From: Guenter Roeck <linux@roeck-us.net>
To: Jean Delvare <khali@linux-fr.org>
Cc: Vivien Didelot <vivien.didelot@savoirfairelinux.com>,
lm-sensors@lm-sensors.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] hwmon: add Maxim MAX197 support
Date: Fri, 31 Aug 2012 09:07:50 -0700 [thread overview]
Message-ID: <20120831160750.GC5756@roeck-us.net> (raw)
In-Reply-To: <20120831163718.38144c01@endymion.delvare>
On Fri, Aug 31, 2012 at 04:37:18PM +0200, Jean Delvare wrote:
> On Thu, 30 Aug 2012 14:09:59 -0700, Guenter Roeck wrote:
> > I have the solution for the platform driver.
> >
> > enum chips { max197, max199 };
> >
> > [ ... ]
> >
> > static struct platform_device_id max197_driver_ids[] = {
> > {
> > .name = "max197",
> > .driver_data = max197,
> > }, {
> > .name = "max199",
> > .driver_data = max199,
> > }
> > };
> > MODULE_DEVICE_TABLE(platform, max197_driver_ids);
>
> Wow, I thought this did not exist and this made me rumble a number of
> times, and now I see this was finally introduced over 3 years ago.
> Cool! And spi has it too now, wonderful world :)
>
Same here ... and now I feel a bit embarassed that I didn't know :)
Guenter
next prev parent reply other threads:[~2012-08-31 16:07 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-30 18:39 [lm-sensors] [PATCH] hwmon: add Maxim MAX197 support Vivien Didelot
2012-08-30 18:39 ` Vivien Didelot
2012-08-30 20:10 ` [lm-sensors] " Guenter Roeck
2012-08-30 20:10 ` Guenter Roeck
2012-08-30 21:09 ` [lm-sensors] " Guenter Roeck
2012-08-30 21:09 ` Guenter Roeck
2012-08-31 14:37 ` [lm-sensors] " Jean Delvare
2012-08-31 14:37 ` Jean Delvare
2012-08-31 16:07 ` Guenter Roeck [this message]
2012-08-31 16:07 ` Guenter Roeck
2012-08-30 21:10 ` [lm-sensors] " Vivien Didelot
2012-08-30 21:10 ` Vivien Didelot
2012-08-30 21:14 ` [lm-sensors] " Guenter Roeck
2012-08-30 21:14 ` Guenter Roeck
2012-08-30 21:22 ` [lm-sensors] " Vivien Didelot
2012-08-30 21:22 ` Vivien Didelot
2012-08-30 21:25 ` [lm-sensors] " Guenter Roeck
2012-08-30 21:25 ` Guenter Roeck
2012-08-31 17:38 ` [lm-sensors] " Vivien Didelot
2012-08-31 17:38 ` Vivien Didelot
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=20120831160750.GC5756@roeck-us.net \
--to=linux@roeck-us.net \
--cc=khali@linux-fr.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lm-sensors@lm-sensors.org \
--cc=vivien.didelot@savoirfairelinux.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.