Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3091439rwb; Mon, 15 Aug 2022 17:55:12 -0700 (PDT) X-Google-Smtp-Source: AA6agR7KMNaN10NE3uwjROW+j6SyU8cKygW2+vn7X72G4kHYvAztv1L+WByRi6SE+vyZ4jxxN1ry X-Received: by 2002:a05:6402:50cb:b0:440:8bac:1e02 with SMTP id h11-20020a05640250cb00b004408bac1e02mr17232908edb.336.1660611196907; Mon, 15 Aug 2022 17:53:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660611196; cv=none; d=google.com; s=arc-20160816; b=JHvzk6eBr2WAbl3+h8WQBCted4RyfslLJxAVr6kv24PJWja0Xe9mrJH58amOBRVnqB vVcbcc3AMpsw49lSnJHOJwTyKbQVhNB3mKOHcuVLgUoR/l7ncK0IDIUVfcFIQEroPyqB df9xwXquauqNAeV+z8067KYFu0sY/aP6a2QbXX2cHNi8nKZ8ukuErh0YYoGWlM8dYuY+ FowXf61Uz5/vwq3s4iYIhxhJmoRvKk6TvpfDD4PghKLdeARX8hO19NpyoHhHlf8pevuQ ieB3QFkR1UK6oU75EdO5iZqCOHPEBsFjtFoLWGnVEOgsWrG+QtpmXMbP0gVtghHJ5Env WMjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=17MiQfXktTu9WEfWkwsA1sUsQ7uRpTSlWpfkSzA54xA=; b=dYsLg/qASqgCvk4iYgOnpjBwsMjroTcSmWYCaYoO95vyqUu6PxrVcy1QgR8mDRWJ7C kwoOSqMhtoqveAraVHLX/wEYnJRHfduVfPUvl5yTsK2D/va2Nm4U7NoYqli3dfJHyOtA /8tQle16YMFC0q+gRKEUoznCmQ37fIrZHZfDMLYvJCbS9uafni1kSKiB8pE8qZcwBTQK GF4c1wf/9f/M6/edOf4AGxpAR+/PDEsCMFm3P7q1bxnm2atLBKw5ohhR25cTPE2+KjRu Q9Xp6toW+a6iCPW+BXzQkWshqDT1asPLzRCBe0TlGXQnyM+uQ9Cz4SjQa1uksCD4OwMs u2ZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=AaTDLN87; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g9-20020a1709065d0900b00732f76a97a0si9263957ejt.0.2022.08.15.17.52.51; Mon, 15 Aug 2022 17:53:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=AaTDLN87; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241317AbiHOXDM (ORCPT + 99 others); Mon, 15 Aug 2022 19:03:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51062 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352940AbiHOXBg (ORCPT ); Mon, 15 Aug 2022 19:01:36 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8DD6313E9B0; Mon, 15 Aug 2022 12:57:57 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 2AF12B80EB1; Mon, 15 Aug 2022 19:57:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5C3F7C433D6; Mon, 15 Aug 2022 19:57:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660593474; bh=IKW68nveAglgeNnym+vgT6nzaVOyqVoVUfARrjdeb+Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AaTDLN87IFzh/0VGUECDtHBkqxCvhITKJblqEoacybHtyTvXFXB44sdPUq56gk4LD zK8Ei7wzH05pA3jPTS6lUh8U4IuDWxoVa8kg3CZFXi4HZc1f6ncVju5+pIlybmDkqj rlnW+AJMPw528WNUJGbdbPzd/JnLkKDENRGRPZiw= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Linus Walleij , Guenter Roeck , Sasha Levin Subject: [PATCH 5.19 0273/1157] hwmon: (drivetemp) Add module alias Date: Mon, 15 Aug 2022 19:53:49 +0200 Message-Id: <20220815180450.532689681@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180439.416659447@linuxfoundation.org> References: <20220815180439.416659447@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Linus Walleij [ Upstream commit 5918036cfa8ded7aa8094db70295011ce2275447 ] Adding a MODULE_ALIAS() to drivetemp will make the driver easier for modprobe to autoprobe. Signed-off-by: Linus Walleij Link: https://lore.kernel.org/r/20220712214624.1845158-1-linus.walleij@linaro.org Fixes: 5b46903d8bf3 ("hwmon: Driver for disk and solid state drives with temperature sensors") Signed-off-by: Guenter Roeck Signed-off-by: Sasha Levin --- 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 "); MODULE_DESCRIPTION("Hard drive temperature monitor"); MODULE_LICENSE("GPL"); +MODULE_ALIAS("platform:drivetemp"); -- 2.35.1