From nobody Tue Sep 9 16:21:02 2025 Received: from mail.andi.de1.cc (mail.andi.de1.cc [178.238.236.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D827A315D4A; Sat, 6 Sep 2025 09:43:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=178.238.236.174 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757151815; cv=none; b=iUzzlgqi+F+7zUA+T769c2DHLTrcGSs8y3qHUkHRXwImNAjjxp3f14cEGTiXYD5cvZQMF+mhIefXSFS/Rs6bgxSyV/et2ybO/O7CKIV3bJLOxIUqvD+ka43pxKQyiSnybUSVqhR+h/huWQXBkSW6azWSxGX3gSSCWSyG86wZNWg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757151815; c=relaxed/simple; bh=mxbiQr2zYz1f312pbi30Clce1CDJurKdqtmz9FIyUZM=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=hL3ffIQTUWZ4GjU4p+k3ilgvJONOwJV/9J4iGU+IDxnSbx2jgjUrM8i6nCcrD69O7Pf0YNB6V0J2TeTtOq7FAxUxYJ+PMhxr7ub/9m5mreN71F4OcMuDi2ruw/ks60K7zAcCPCqdXvAffiCLXnAmkeVsuHoAGvk3RbHi6Y7+N0I= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=kemnade.info; spf=pass smtp.mailfrom=kemnade.info; dkim=pass (2048-bit key) header.d=kemnade.info header.i=@kemnade.info header.b=HWbXybSY; arc=none smtp.client-ip=178.238.236.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=kemnade.info Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=kemnade.info Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kemnade.info header.i=@kemnade.info header.b="HWbXybSY" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kemnade.info; s=20220719; h=Cc:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References; bh=4mWTGCWEOX7pumrAaEPe6n0XdIQTYf6x4wm6OpHMv1Q=; b=HWbXybSY3sY7AyDGTKc8mMAAiQ kuZbvztgK3ILhFlZiQYCjQuCv8eCIHyGb1apPPSCQO7PD2ynFGXDlq2Ee3dJAMaf6CKDWRbA/Oig+ +K+66zXrR6GPdlX71twf9rKbO5rMgSRtq+RbMfHbeXhY/iFpfuCTMndnqb843hb7Jrr+j3dKSRPAc zKFBpPZ6hoEjW2LDjMcCsAGsTKr2bWf1ctwIFFBq4UrqP8Mi3wurpPNEY/9F1i/5O/pedZrD7PMD4 oV30pqL2URvirD2RFaJVbuAv9oaJumVxX2/yszd6jYVuonOBACEiDg7do06IgEG7LT0id9KUQXP6L ma029YjA==; From: Andreas Kemnade To: jdelvare@suse.com, linux@roeck-us.net, linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Andreas Kemnade Subject: [PATCH] hwmon: sy7636a: add aliases Date: Sat, 6 Sep 2025 11:43:08 +0200 Message-Id: <20250906094308.11129-1-andreas@kemnade.info> X-Mailer: git-send-email 2.39.5 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Add module aliases via module devicetable to have it autoloaded. Signed-off-by: Andreas Kemnade --- drivers/hwmon/sy7636a-hwmon.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/hwmon/sy7636a-hwmon.c b/drivers/hwmon/sy7636a-hwmon.c index ed110884786b4..74ee0e756ffdc 100644 --- a/drivers/hwmon/sy7636a-hwmon.c +++ b/drivers/hwmon/sy7636a-hwmon.c @@ -12,6 +12,7 @@ #include #include #include +#include #include #include #include @@ -94,11 +95,18 @@ static int sy7636a_sensor_probe(struct platform_device = *pdev) return 0; } =20 +static const struct platform_device_id sy7636a_sensor_idtable[] =3D { + { "sy7636a-temperature" }, + { }, +}; +MODULE_DEVICE_TABLE(platform, sy7636a_sensor_idtable); + static struct platform_driver sy7636a_sensor_driver =3D { .probe =3D sy7636a_sensor_probe, .driver =3D { .name =3D "sy7636a-temperature", }, + .id_table =3D sy7636a_sensor_idtable, }; module_platform_driver(sy7636a_sensor_driver); =20 --=20 2.39.5