Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp2813488rwb; Mon, 15 Aug 2022 11:52:24 -0700 (PDT) X-Google-Smtp-Source: AA6agR4uzMzfQyFxbgB7Ho73UPrC/pUkTLU0v+38Jz/XNRO2mQGtf/CJjuGrQlITRXLwQRrot3rG X-Received: by 2002:a05:6402:2683:b0:43e:76fc:f9db with SMTP id w3-20020a056402268300b0043e76fcf9dbmr15379331edd.390.1660589544633; Mon, 15 Aug 2022 11:52:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660589544; cv=none; d=google.com; s=arc-20160816; b=OmS86OcJpM+e4v/lF4cImvp03YiteT7HYfTl+ta7V2SfmUe8d2k6Q5gIZJN1XQlmfB nIbfV6eKJzrrnSfVnnbXTU8KQJYs2QM/QfoBxut3+l5r8iFPfhNgsHtUP0oDYlyTG/lE f/GnvlvdKHd9CxD7b9MKcj/zQ4QFdrNLB5IJhM18EWwAUcwYaRKH2oA+Rd7axfCRff7G x8pJQaASya88lmgjwlliMFWBtQsk/cLsodAL8uWY1yXZermh64GwoTQf3+HomBbwvHGd becvTAcDx2Y2Y9ML/1OkPPf1qhc9gqv/sAy2fnPG6eI2zIYIExi46z8p364gyj00Emk1 n0/g== 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=j4liK1D3W01tnHmNYEo+FRH4kRHVR9UfOXC/1q8FB3H0jO7UHLbtp/1HTGtQUtq98W 0BLmI8YimJIaL4qjo1Y1Hb+XZb1VJOljY7RZWRQ6SEZfMPFJwezdoGgEOiR+lHJrbRD7 ZjbTzWw6MI4PZ54h/Zv/lhRdc4k63B/MlbT6d0r7XgMr7wxZBSyHvgjtP/7B1lgcG+6t F5EvypTUHFF0q9mcmx+UDS7rtI8b+BrjcnngXAeDnFt+U/RPmIsTCnF0PrwTu5zzH2yv +mBFjFZ32hkR5KE9OIFttf1ejYtsCOf2E2ATX7CmlfOhjoS3B+ss6mftff0wC8WyO+gW /zJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="1Abq/V9/"; 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 gt16-20020a1709072d9000b007307bde1f23si8672560ejc.716.2022.08.15.11.51.58; Mon, 15 Aug 2022 11:52:24 -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="1Abq/V9/"; 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 S232063AbiHOSmT (ORCPT + 99 others); Mon, 15 Aug 2022 14:42:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50686 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243064AbiHOSj3 (ORCPT ); Mon, 15 Aug 2022 14:39:29 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 852D83DBCF; Mon, 15 Aug 2022 11:24:01 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 9A5AD60693; Mon, 15 Aug 2022 18:24:00 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8AEFBC433D6; Mon, 15 Aug 2022 18:23:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660587840; bh=IKW68nveAglgeNnym+vgT6nzaVOyqVoVUfARrjdeb+Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=1Abq/V9/gEqDVehcVkBivKpMyA5ZcCY49bVGoK29XyjEebku34YDPl6rgovDMRUYh nsnbfEvDMRgHh75ln1Gh8Tpv+jmIPU51pO2yBytnFNderNUT+PvEUVCVkDkwlSW0eJ tkCmAiI/VEqWv1Eu+5v1TtR/2KedMXPElQEzvjPs= 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.15 211/779] hwmon: (drivetemp) Add module alias Date: Mon, 15 Aug 2022 19:57:35 +0200 Message-Id: <20220815180346.291262633@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180337.130757997@linuxfoundation.org> References: <20220815180337.130757997@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