Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp2925602rwb; Mon, 15 Aug 2022 14:10:36 -0700 (PDT) X-Google-Smtp-Source: AA6agR4eJlzREUbzAXWAlBDcA0hFu4BeqCpua1Y276MBnV0EEw24U01Kj0SuvuFK32IwmWKLCVKh X-Received: by 2002:a17:907:628f:b0:72f:58fc:3815 with SMTP id nd15-20020a170907628f00b0072f58fc3815mr11434578ejc.719.1660597835949; Mon, 15 Aug 2022 14:10:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660597835; cv=none; d=google.com; s=arc-20160816; b=QWtrdVELKLg2WvUwDXGAr63sIyApRvEwNeqLNBKEIZKtfwyylCRgPXxa/y9dyjrhFN 6Va1gmp3moZZ31LPuvksx/rz/MHoQYrpCJDZOG6LP5hHt3ItJE9gGF6QB6weNOVtw+Fs IOv/lfiE++Yarm5jNJvjzzuaoMaeIrwD2e6/2a6l1EfAVf3Lp55duSICuwvrrYaiPRak zS3KUfaop1COuScl9zyQH2QOYHg5qfAcwlCNHCOzoO9ebhvIcT7sGhIjiR3yU0DD0ZHz nrRIgDARKBvqjmnHtbBjD/TPWr3Ntel/CycoyICClUk2BcYREpY4kF7QsDy94YUptbSz 8Hpw== 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=rkVpSP8rXKX7eUNYvYl53tp2Dn6RegtcC4JflwiVyS6KwFU5wICTVaUcR412lFFdy8 YJNU0pQ8muk51nXsaCHBFTIF28RFrETLzEn6EWaD6VEsLGYhdYSh0eSXNP8eh08uyV9l IxKWqwLzXUZMc4epXALKQqORWYdy/tvpVRR29udmT4DulNUyU4VKPYQ36bCUhxf7cqyB SijeemvexHJ33ePsBCAgA+uKMZPsjekA8uMb8CCaowu/8AX9T+CQvyQArL19fdmi582m Des7bJIRTrv2vm6fkBTh1+PhBaDy9mqpq1XZdibx9UvLgziZ0eaSyzPaA52uVJcOBjsb nNhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Y1wXMgnU; 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 b18-20020a056402351200b0043d9832325fsi8917991edd.541.2022.08.15.14.10.10; Mon, 15 Aug 2022 14:10:35 -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=Y1wXMgnU; 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 S1345848AbiHOUox (ORCPT + 99 others); Mon, 15 Aug 2022 16:44:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34384 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347418AbiHOUms (ORCPT ); Mon, 15 Aug 2022 16:42:48 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 22C1FB2D8C; Mon, 15 Aug 2022 12:07:56 -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 0BB0C61267; Mon, 15 Aug 2022 19:07:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E8C0DC433D6; Mon, 15 Aug 2022 19:07:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660590475; bh=IKW68nveAglgeNnym+vgT6nzaVOyqVoVUfARrjdeb+Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Y1wXMgnUvRo22haBHJ9aY6pCNbEebZT9uRL101UWsPcPjlOvXYOw2culHu6IVWcq/ z7FOYXqzYTRFfyKVf+vch+kwgiBf4rAYWJKP1DtOSdej3ePK6jhn4oi1mAwaLU+GjW AYmNky/fhL6EbAJKDoNNtUw1RTnyEBEFQw8HX4sU= 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.18 0272/1095] hwmon: (drivetemp) Add module alias Date: Mon, 15 Aug 2022 19:54:31 +0200 Message-Id: <20220815180441.005801701@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180429.240518113@linuxfoundation.org> References: <20220815180429.240518113@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