All of lore.kernel.org
 help / color / mirror / Atom feed
From: Guenter Roeck <linux@roeck-us.net>
To: Linus Walleij <linus.walleij@linaro.org>
Cc: Jean Delvare <jdelvare@suse.com>, linux-hwmon@vger.kernel.org
Subject: Re: [PATCH] hwmon: drivetemp: Add module alias
Date: Wed, 13 Jul 2022 06:35:24 -0700	[thread overview]
Message-ID: <20220713133524.GA3662638@roeck-us.net> (raw)
In-Reply-To: <20220712214624.1845158-1-linus.walleij@linaro.org>

On Tue, Jul 12, 2022 at 11:46:24PM +0200, Linus Walleij wrote:
> Adding a MODULE_ALIAS() to drivetemp will make the driver easier
> for modprobe to autoprobe.
> 
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

Applied.

Thanks,
Guenter

> ---
>  drivers/hwmon/drivetemp.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/hwmon/drivetemp.c b/drivers/hwmon/drivetemp.c
> index 1eb37106a220..5bac2b0fc7bb 100644
> --- a/drivers/hwmon/drivetemp.c
> +++ b/drivers/hwmon/drivetemp.c
> @@ -621,3 +621,4 @@ module_exit(drivetemp_exit);
>  MODULE_AUTHOR("Guenter Roeck <linus@roeck-us.net>");
>  MODULE_DESCRIPTION("Hard drive temperature monitor");
>  MODULE_LICENSE("GPL");
> +MODULE_ALIAS("platform:drivetemp");

      reply	other threads:[~2022-07-13 13:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-12 21:46 [PATCH] hwmon: drivetemp: Add module alias Linus Walleij
2022-07-13 13:35 ` Guenter Roeck [this message]

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=20220713133524.GA3662638@roeck-us.net \
    --to=linux@roeck-us.net \
    --cc=jdelvare@suse.com \
    --cc=linus.walleij@linaro.org \
    --cc=linux-hwmon@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 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.