From mboxrd@z Thu Jan 1 00:00:00 1970 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=-13.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,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 8A7E6C433F5 for ; Sun, 19 Sep 2021 09:31:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 60C0C61205 for ; Sun, 19 Sep 2021 09:31:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237569AbhISJcr (ORCPT ); Sun, 19 Sep 2021 05:32:47 -0400 Received: from smtp-relay-internal-1.canonical.com ([185.125.188.123]:36354 "EHLO smtp-relay-internal-1.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237507AbhISJcq (ORCPT ); Sun, 19 Sep 2021 05:32:46 -0400 Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.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 E22603F4B9 for ; Sun, 19 Sep 2021 09:31:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1632043880; bh=Zlzk0L+jJUx03F0UWBN9FUh9Hi4wSYcrxBZrYue21xY=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=LfHTCY+r7KvngarlW3ov6gMM3gwyvQpOQvAw6BSV4WXJBs7tKz61DoLopfB1fc8Oz eE43CBnCaYlsaOygCM4otIigS0CmSqu6QQXUc/E2tAf+KtqG8QZG7RNu4qLCHpZpAo K9unJ43vm1lFSxDt7l9flE3/GmnPrXjid2dkqhDcIjCA7EB00CYCB6HTByHWTgv3kb edrpcWAmI3TgwoX6fEFcB9Jxbqo2XLhDZ7MAodJGjKAtNafYj39u78Q9e1kVvlNObu 5VH6rdkpXj2mvXIVxrFh4qLR0K+J8897NOHSBTBFC0sgyz9F4W2LeiC+87GkZQwZiX eDirt7kc+l1/A== Received: by mail-ed1-f72.google.com with SMTP id b7-20020a50e787000000b003d59cb1a923so12199580edn.5 for ; Sun, 19 Sep 2021 02:31:20 -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:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Zlzk0L+jJUx03F0UWBN9FUh9Hi4wSYcrxBZrYue21xY=; b=iRAQz0T3SFXnbwDb2jiHJU1k9yix8TzuLxPwZVa9aDT5kip5FtKRUAy7CMljDStZZd CwcdepwxlTj0WiOx6sfZSg2q2z6N/xzDcsbmUOZDHMiLnRKZh/tQl0bQxATU1UCrXA3G lf1tiXPTqwCPIJF8vR1QNBI6fPTH5x7t9n7rWJdJwVCbBG2mQcjiWGiGlklgaU5mwcPB NrCOH5iphlaRO2an9oDeLr8pRS//gUpzVYvdDyHEloP8Uw5pGon23Ef7yMd3djtpczCM 4+nWXewZkauW6OhtfA8kAK39UdJnbw9GGORtWGUrlu6at4o8wsOjPlhKzD1J62xWT/KY 6Mwg== X-Gm-Message-State: AOAM530uJQh7sg5HFsipBRVYe6xA/DPeS2+SfetNuIK8I+Ov3Pu15Frs P1tmQWZxYxi+Tr4G4GjH6D6oE2FpVV6NmMz5UodsnM5SKlz5ZoA5D9bzD3Ia9pLa65WZbfN6W2H PJg4Xd1oOoN2IHyWWYZ0z9EC1V4fkGPtNIZfbAmQueQ== X-Received: by 2002:a17:906:eb56:: with SMTP id mc22mr21317138ejb.542.1632043880367; Sun, 19 Sep 2021 02:31:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwA57zHEYeEhvGZbVieFxmBitOGTy7AjxQG0k0Zag5Vv7d7dTv4Kz8JFMwEnzRS1C5FpIrGrg== X-Received: by 2002:a17:906:eb56:: with SMTP id mc22mr21317115ejb.542.1632043880176; Sun, 19 Sep 2021 02:31:20 -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 p24sm514111edq.27.2021.09.19.02.31.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Sep 2021 02:31:19 -0700 (PDT) From: Krzysztof Kozlowski To: Russell King , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Marek Szyprowski , Sylwester Nawrocki , Bartlomiej Zolnierkiewicz , Tomasz Figa , Arnd Bergmann , Olof Johansson , Alim Akhtar , Chanwoo Choi , Pankaj Dubey Subject: [PATCH v2 0/3] soc: samsung: exynos-chipid: be a module! Date: Sun, 19 Sep 2021 11:31:11 +0200 Message-Id: <20210919093114.35987-1-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Changes since v1 ================ 1. Drop patch 1/2 - exporting soc_device_to_device 2. Add new patches: 1/3 and 3/3. Question ======== A question - what is the convention for naming modules: underscores '_' or hyphens '-'? The C-unit file already uses a hyphen "exynos-chipid.c", so I could create a module named: 1. exynos_chipid 2. soc-exynos-chipid 3. exynos-chip-id The Linux device name is "exynos-chipid". Best regards, Krzysztof Krzysztof Kozlowski (3): soc: samsung: exynos-chipid: avoid soc_device_to_device() soc: samsung: exynos-chipid: convert to a module soc: samsung: exynos-chipid: do not enforce built-in arch/arm/mach-exynos/Kconfig | 1 - drivers/soc/samsung/Kconfig | 4 +++- drivers/soc/samsung/Makefile | 3 ++- drivers/soc/samsung/exynos-chipid.c | 14 +++++++++++--- drivers/soc/samsung/exynos5422-asv.c | 1 + 5 files changed, 17 insertions(+), 6 deletions(-) -- 2.30.2 From mboxrd@z Thu Jan 1 00:00:00 1970 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=-13.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham 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 4FF0CC433EF for ; Sun, 19 Sep 2021 09:33:16 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1057F611F0 for ; Sun, 19 Sep 2021 09:33:16 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 1057F611F0 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=canonical.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=2jwH411u23i2zhIyGyIZS+TI++lmLzLC8QFUELxKgag=; b=2VjiElPOKwBut0 l3QmQpJL/eVH4QJeRa1BVhEoQvPf39Phwvq2yBtV3O63bBwPTUDCWA/YKa9QeVNo2g57fIMV7z3Ap B6Te5NAWblQSbq13KAhAixXCLnGFez1axhAs+R4Q0+7JxIrbCsVJzO1ZyDxAtl2x24XxeL0LKaGn3 84EYa6jWbY/FmPRdJp0gL5o0hhZrTYKbnOqPKFeU9EFaMimLex/DFC0cd37lOMg14Jg6OGVTozxs6 RisrzubH3QRutcEdrIZGMyEuXZ65Z7fQm9NMBv8Gyi05iApevsgBH905dovS6xm3yeU6hm4ZefYfm tu3r46Bkp4ouCcXfFhQQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mRtAU-00H2O7-KQ; Sun, 19 Sep 2021 09:31:26 +0000 Received: from smtp-relay-internal-1.canonical.com ([185.125.188.123]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mRtAQ-00H2NQ-JB for linux-arm-kernel@lists.infradead.org; Sun, 19 Sep 2021 09:31:24 +0000 Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.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-1.canonical.com (Postfix) with ESMTPS id C97C73F226 for ; Sun, 19 Sep 2021 09:31:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1632043880; bh=Zlzk0L+jJUx03F0UWBN9FUh9Hi4wSYcrxBZrYue21xY=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=LfHTCY+r7KvngarlW3ov6gMM3gwyvQpOQvAw6BSV4WXJBs7tKz61DoLopfB1fc8Oz eE43CBnCaYlsaOygCM4otIigS0CmSqu6QQXUc/E2tAf+KtqG8QZG7RNu4qLCHpZpAo K9unJ43vm1lFSxDt7l9flE3/GmnPrXjid2dkqhDcIjCA7EB00CYCB6HTByHWTgv3kb edrpcWAmI3TgwoX6fEFcB9Jxbqo2XLhDZ7MAodJGjKAtNafYj39u78Q9e1kVvlNObu 5VH6rdkpXj2mvXIVxrFh4qLR0K+J8897NOHSBTBFC0sgyz9F4W2LeiC+87GkZQwZiX eDirt7kc+l1/A== Received: by mail-ed1-f70.google.com with SMTP id x14-20020a50ba8e000000b003d5a565de3aso12155570ede.18 for ; Sun, 19 Sep 2021 02:31:20 -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:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Zlzk0L+jJUx03F0UWBN9FUh9Hi4wSYcrxBZrYue21xY=; b=MJyYNNiITR0FLt7aOn+1+koarVIYrOh1+4OfhyZUe24Z2tjjDnyP/6yvFp2V7CMpP5 3FMuQQ3YeodLTcyLg8H+gUUR66xbXGOPe545gPPIP5KoqTpk0B98xk+j6q+aFkdbjA7L 7PkobSXU6iUb2UCdmycxIzmF85rQsGAX05N6ClhDh0Bt28NVfTWpeNodU1WGojTpqGEp ZRvP+re6ps0pXFUbgvYOBQcZJ3PJaq4FgloVKq0ivH9mu74VT1nI+iW99Y2MUe99eAef Q6t4QPrkBdSMQkglg/kl3DHEXA+dODhz95d/x5wmS7DhUpHa0kbp8k6JU9ZTC84SU8tw pnog== X-Gm-Message-State: AOAM530QmIB1zqeR9t1nreBcjIm5hDjbas8V2AGsI9hqrf7iVwA+J4Ta NzLzjDU3+JDvKmXO2Lj/dVlCJQpKZqDqHUvcNjwUm0GM9dRXCiXjH8kl3LSD/0cd5To1nsIOGXQ ynr/cRGevRWpj91ESim+qFiuP/h/XhbG2uucL/yJYkbKw7Ozy+kMy X-Received: by 2002:a17:906:eb56:: with SMTP id mc22mr21317137ejb.542.1632043880366; Sun, 19 Sep 2021 02:31:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwA57zHEYeEhvGZbVieFxmBitOGTy7AjxQG0k0Zag5Vv7d7dTv4Kz8JFMwEnzRS1C5FpIrGrg== X-Received: by 2002:a17:906:eb56:: with SMTP id mc22mr21317115ejb.542.1632043880176; Sun, 19 Sep 2021 02:31:20 -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 p24sm514111edq.27.2021.09.19.02.31.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Sep 2021 02:31:19 -0700 (PDT) From: Krzysztof Kozlowski To: Russell King , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Marek Szyprowski , Sylwester Nawrocki , Bartlomiej Zolnierkiewicz , Tomasz Figa , Arnd Bergmann , Olof Johansson , Alim Akhtar , Chanwoo Choi , Pankaj Dubey Subject: [PATCH v2 0/3] soc: samsung: exynos-chipid: be a module! Date: Sun, 19 Sep 2021 11:31:11 +0200 Message-Id: <20210919093114.35987-1-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210919_023122_874302_5D00AB5B X-CRM114-Status: GOOD ( 11.91 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi, Changes since v1 ================ 1. Drop patch 1/2 - exporting soc_device_to_device 2. Add new patches: 1/3 and 3/3. Question ======== A question - what is the convention for naming modules: underscores '_' or hyphens '-'? The C-unit file already uses a hyphen "exynos-chipid.c", so I could create a module named: 1. exynos_chipid 2. soc-exynos-chipid 3. exynos-chip-id The Linux device name is "exynos-chipid". Best regards, Krzysztof Krzysztof Kozlowski (3): soc: samsung: exynos-chipid: avoid soc_device_to_device() soc: samsung: exynos-chipid: convert to a module soc: samsung: exynos-chipid: do not enforce built-in arch/arm/mach-exynos/Kconfig | 1 - drivers/soc/samsung/Kconfig | 4 +++- drivers/soc/samsung/Makefile | 3 ++- drivers/soc/samsung/exynos-chipid.c | 14 +++++++++++--- drivers/soc/samsung/exynos5422-asv.c | 1 + 5 files changed, 17 insertions(+), 6 deletions(-) -- 2.30.2 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel