From patchwork Thu Sep 16 16:45:12 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12499681 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7D2C2C43219 for ; Thu, 16 Sep 2021 16:47:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6664F630EE for ; Thu, 16 Sep 2021 16:47:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241396AbhIPQsz (ORCPT ); Thu, 16 Sep 2021 12:48:55 -0400 Received: from smtp-relay-internal-1.canonical.com ([185.125.188.123]:53276 "EHLO smtp-relay-internal-1.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242607AbhIPQql (ORCPT ); Thu, 16 Sep 2021 12:46:41 -0400 Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id 208733F338 for ; Thu, 16 Sep 2021 16:45:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1631810719; bh=Bsa8JOGGCKGqD18D4sehfiJwGit16PjwUVoBvcbwuaE=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=FOFao9op70RKIETayHtyeTujsjwJlRD796Ak1KKguLOI6LnEXXtlK4Rfy6V333ys/ FK72QFGK7H/Iv8FjQbNCUiRiOPb+SWCLgHc/jSUtWmTM7TnhAupdGvaNLbOu28ZiG8 oImL7ezfjZCoEbv4eQlcHQ7X6p3VMiGj2PgrA6I8xvNWm/Hw0f+8EwuPQo9HJFQLMY 1BBDBj6hMulWHY3xiZLeGsWhAHBHU4iu5Mm0xDbsI8a6q9p3hUEMv1+m0XA62v6FsC +9eTQR6dE23RrfNBbOx4eHZeiT5NmSL1D5b6idYA0sL/5EJ11fO9mMdnF81H+0/K3P LYbQ+KYksu0Zg== Received: by mail-wr1-f72.google.com with SMTP id i4-20020a5d5224000000b0015b14db14deso2661631wra.23 for ; Thu, 16 Sep 2021 09:45:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=Bsa8JOGGCKGqD18D4sehfiJwGit16PjwUVoBvcbwuaE=; b=kRvy8vCkd8g8Y1q8L+SYg0fNa5TfGTLo2+f0omT+q0cx2Vz1ctE8KrfRLIbkRY8moW pSd9g9dNdVCoHWmjwGL7vEGz6pYTaH4KTGUIZSW4JFGEmoCV6Ar3tbmIR7BxyvuOam+2 qBl1aZ2c+KLxzAnEm24zyc9xXVQdZF0vzrU9o4mkMpO7fuBo7tXqd0hFu2UX4rz7zHKA 7YGj//1M8sGBsJXUm4Cd9BIWaoB4YDctpHmmyK8BAgU/rm3ex3iwQY43X+QrBh63hNJp phW83h3p3uzeeM/ff5PiJyhLGR6Lz27MbPLItco+eub4vU0FN7td6osYJQ+8oLz/jeap KXgQ== X-Gm-Message-State: AOAM53376hLsf1Jq3cUsQLt5grQ2WkDFcVBCsigj6m7gvQSnj2iRmhRl cBSvuzA40FJA8CyuaCPAJvuxNKCAJgGbg44uFuTVBTSp4TEvzN0ucuuUjG5LRCswwrhBI9RegyJ sNT01ESp0akkVou5U/H1JU5IofzCAv5QuhJhNtfn5rvjz4Mb0 X-Received: by 2002:a7b:cd90:: with SMTP id y16mr10706131wmj.84.1631810718438; Thu, 16 Sep 2021 09:45:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz2JuDX3DqgsifbIvvV1lhfVqk1firlNmZ4F0o08GsrlrdHsnMaJzFPqkY3TSk0PC9I7m7bQg== X-Received: by 2002:a7b:cd90:: with SMTP id y16mr10706126wmj.84.1631810718312; Thu, 16 Sep 2021 09:45:18 -0700 (PDT) Received: from kozik-lap.lan (lk.84.20.244.219.dc.cable.static.lj-kabel.net. [84.20.244.219]) by smtp.gmail.com with ESMTPSA id j27sm3388187wms.6.2021.09.16.09.45.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Sep 2021 09:45:17 -0700 (PDT) From: Krzysztof Kozlowski To: Alessandro Zummo , Alexandre Belloni , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz , linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH 1/2] rtc: omap: drop unneeded MODULE_ALIAS Date: Thu, 16 Sep 2021 18:45:12 +0200 Message-Id: <20210916164513.134725-1-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org The MODULE_DEVICE_TABLE already creates proper alias for platform driver. Having another MODULE_ALIAS causes the alias to be duplicated. Signed-off-by: Krzysztof Kozlowski --- drivers/rtc/rtc-omap.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/rtc/rtc-omap.c b/drivers/rtc/rtc-omap.c index d46e0f0cc502..4d4f3b1a7309 100644 --- a/drivers/rtc/rtc-omap.c +++ b/drivers/rtc/rtc-omap.c @@ -1029,6 +1029,5 @@ static struct platform_driver omap_rtc_driver = { module_platform_driver(omap_rtc_driver); -MODULE_ALIAS("platform:omap_rtc"); MODULE_AUTHOR("George G. Davis (and others)"); MODULE_LICENSE("GPL"); From patchwork Thu Sep 16 16:46:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12499701 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 36F27C4332F for ; Thu, 16 Sep 2021 16:50:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2584663249 for ; Thu, 16 Sep 2021 16:50:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233342AbhIPQvd (ORCPT ); Thu, 16 Sep 2021 12:51:33 -0400 Received: from smtp-relay-internal-0.canonical.com ([185.125.188.122]:58338 "EHLO smtp-relay-internal-0.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243418AbhIPQrb (ORCPT ); Thu, 16 Sep 2021 12:47:31 -0400 Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id E22DD40268 for ; Thu, 16 Sep 2021 16:46:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1631810769; bh=TkTHOhbG7+Cs8KGkPzHFU+IfRiM3V1/WUAdUOTTHlrE=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=mMnCA+/kscSnPsUCIRZcQEDwgBNdIn+/tSkJOdpsjzs8cBcXFuwXiJ1rPK4EAmZMW d4mEPwtk/B9uG6hJDPJcLCzWaQ+pnV/3hCZSCPItEz4A30teXdL4SjhG7039CPVx9T dj1nKM3W4cS8gL/J7Dw9NsqRhxfqMiQ1TxNLqgsUZDZh0NglnFBZuxg29J8V1ZJfdM etYcHe2u/E8UnEIUYUIr/9ZORIx7j9xGSexOw+8kO8pPlAiJVzsvGrpXZbJLfHH1cF ngkEXMJ3ONRlT8C3mcTSq2JAIESbIejwSeA6do/eJtcayrV2wDPBXgUwwmwpSIMNVY nAmZsla72X52g== Received: by mail-wr1-f70.google.com with SMTP id x7-20020a5d6507000000b0015dada209b1so2661054wru.15 for ; Thu, 16 Sep 2021 09:46:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=TkTHOhbG7+Cs8KGkPzHFU+IfRiM3V1/WUAdUOTTHlrE=; b=MpXkrOSvbBAKyS9W20TFtqW2pZyehQM6fGzEIGSKwRSPeKuWicQGnkZpH2LXFuCZx5 lqrtIfRnOZADApi3/mjfAx0ws5js0u4N1so1JktD7JOEQyhfVkpUZuXqBX74NZ6p2mzG dphJ8K3sIYZuVAmcLMprQEDVUZ+UqqUksA4hE/uwvsfDBVVrBD9G6YG0hNqGdCYB/qvT GOrYJ1crXwPA9cYPXoUIRprl81ofqDqr6a1ii1vbsU5m7hkSCTsOeOYbAqVSBCUjoiGX +LKxsTtgY/nbXJBWfvlXSsmOuujdCEgOINfQnYsSVwnYkiKGqvtTbYolxDSIYowVYey3 LZ2g== X-Gm-Message-State: AOAM530w+dKIeBPHWwS0w16V5WCS4/xCaYWA+cDvQpY0p9V+C6zpPDRV 7TSIvNYaPmTzgHlqJV1j/CH3/muNSILFzDmFdeuqtNqAUJdzb5IKt17A3wdkDjvZLWFbZNlu5En ORhywUUyWLxoPA11vUuNi33Tvk0tZzOWHd9+V0lZkFa8ygCe9 X-Received: by 2002:a05:600c:4f0b:: with SMTP id l11mr10746890wmq.0.1631810769632; Thu, 16 Sep 2021 09:46:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxyW+OkIKkP01ToiSTSOU4G0hJjjzBqvO2StScpKKfwwlhY9dJZUVxfnRqcLlXIIqO+lwZLbw== X-Received: by 2002:a05:600c:4f0b:: with SMTP id l11mr10746871wmq.0.1631810769456; Thu, 16 Sep 2021 09:46:09 -0700 (PDT) Received: from kozik-lap.lan (lk.84.20.244.219.dc.cable.static.lj-kabel.net. [84.20.244.219]) by smtp.gmail.com with ESMTPSA id l21sm3718194wmh.31.2021.09.16.09.46.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Sep 2021 09:46:08 -0700 (PDT) From: Krzysztof Kozlowski To: Alessandro Zummo , Alexandre Belloni , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz , linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH 2/2] rtc: s5m: drop unneeded MODULE_ALIAS Date: Thu, 16 Sep 2021 18:46:04 +0200 Message-Id: <20210916164604.134924-1-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210916164513.134725-1-krzysztof.kozlowski@canonical.com> References: <20210916164513.134725-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org The MODULE_DEVICE_TABLE already creates proper alias for platform driver. Having another MODULE_ALIAS causes the alias to be duplicated. Signed-off-by: Krzysztof Kozlowski --- drivers/rtc/rtc-s5m.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/rtc/rtc-s5m.c b/drivers/rtc/rtc-s5m.c index fb9c6b709e13..4243fe6d3842 100644 --- a/drivers/rtc/rtc-s5m.c +++ b/drivers/rtc/rtc-s5m.c @@ -861,4 +861,3 @@ module_platform_driver(s5m_rtc_driver); MODULE_AUTHOR("Sangbeom Kim "); MODULE_DESCRIPTION("Samsung S5M/S2MPS14 RTC driver"); MODULE_LICENSE("GPL"); -MODULE_ALIAS("platform:s5m-rtc");