All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jean Delvare <khali@linux-fr.org>
To: Guenter Roeck <linux@roeck-us.net>
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 16:37:18 +0200	[thread overview]
Message-ID: <20120831163718.38144c01@endymion.delvare> (raw)
In-Reply-To: <20120830210959.GA11153@roeck-us.net>

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 :)

-- 
Jean Delvare

WARNING: multiple messages have this Message-ID (diff)
From: Jean Delvare <khali@linux-fr.org>
To: Guenter Roeck <linux@roeck-us.net>
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 14:37:18 +0000	[thread overview]
Message-ID: <20120831163718.38144c01@endymion.delvare> (raw)
In-Reply-To: <20120830210959.GA11153@roeck-us.net>

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 :)

-- 
Jean Delvare

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

  reply	other threads:[~2012-08-31 14:37 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-30 18:39 [PATCH] hwmon: add Maxim MAX197 support Vivien Didelot
2012-08-30 18:39 ` [lm-sensors] " Vivien Didelot
2012-08-30 20:10 ` Guenter Roeck
2012-08-30 20:10   ` [lm-sensors] " Guenter Roeck
2012-08-30 21:10   ` Vivien Didelot
2012-08-30 21:10     ` [lm-sensors] " Vivien Didelot
2012-08-30 21:14     ` Guenter Roeck
2012-08-30 21:14       ` [lm-sensors] " Guenter Roeck
2012-08-30 21:22       ` Vivien Didelot
2012-08-30 21:22         ` [lm-sensors] " Vivien Didelot
2012-08-30 21:25         ` Guenter Roeck
2012-08-30 21:25           ` [lm-sensors] " Guenter Roeck
2012-08-30 21:09 ` Guenter Roeck
2012-08-30 21:09   ` [lm-sensors] " Guenter Roeck
2012-08-31 14:37   ` Jean Delvare [this message]
2012-08-31 14:37     ` Jean Delvare
2012-08-31 16:07     ` Guenter Roeck
2012-08-31 16:07       ` [lm-sensors] " Guenter Roeck
2012-08-31 17:38       ` Vivien Didelot
2012-08-31 17:38         ` [lm-sensors] " 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=20120831163718.38144c01@endymion.delvare \
    --to=khali@linux-fr.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --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.