Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp6057408rwb; Mon, 14 Nov 2022 13:38:06 -0800 (PST) X-Google-Smtp-Source: AA0mqf6dSye2AgCm7O0o8wyJiKDLfw8r6dn4YYkuaSg393+aGJsvTdRuOhnC2sKy2pcmbMOMjfX2 X-Received: by 2002:a50:8ac8:0:b0:463:c5f7:fae with SMTP id k8-20020a508ac8000000b00463c5f70faemr12262782edk.152.1668461885755; Mon, 14 Nov 2022 13:38:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668461885; cv=none; d=google.com; s=arc-20160816; b=FujqxjciBqHi0Bj5MEmkz5NACDfWnn79AYaBwu0/HHpT+tbk6OAPS3T/0FCTg/r3PL ej5BjCcskHqLw1+23UwBV+QYYGDKiIsc+DKiVfDS0logaI4psEZBV3G5I8CgPy3wC1Oa P3DRQXDEUyXKCDGVO9dXxoWubhJVJMR0j37cqkr64UfXpoe7PcH7ogN4B42tIcpuJAAj vKwl+5Mokkl0XY22rwi4WxspqsfYSII/zZtaMpJ3r21KWoCNcxpiWXno52rpBsXgjiCz 75pNV4l8JhsWa5WFSq4tZw3YJ+rqQvoa0zB3mj8zWe4t/W1ECM6kk3r2xXNMTSSTr6rv uMmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=GKQQdrBMa6jaD/V+H3nTX/7hgN79VqFbdOW7mE98yJ8=; b=fXNnfAAySyR6gfKxEoiRpY/vKyx6bUKqtRWKvnpzF/Hr4hw3XDOUSZugFYwYh/YoP6 olH7we7kY3As/UJ1wFSZiOhepx6RCCA71dA20/o4XlFolL4WYaL1C/WcyDJAPrYnpViy BRGz/P1zwfEpq+3Zl2kjbsRq5PULGbkwCFUKLlJ5sor/g/yjw1QEv7Q6cd9Zj8BKMTxG JT8xPH2Xm+MlxH3ciZ2ygkAkrbdAirXn3Zf/Lr5jCeFUjyKhZnv6Wf7HaTCr05EDvQ9x /t1Q+AFMoZfFxncHGhZqmJCL44yx6/SLiBSQgFkFlvPy7zZcV60YqIHXKoXh/k9o0oMj cyKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=SeN5abbE; 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=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u17-20020a509511000000b00461bff75d84si9033664eda.463.2022.11.14.13.37.44; Mon, 14 Nov 2022 13:38:05 -0800 (PST) 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=@bootlin.com header.s=gm1 header.b=SeN5abbE; 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=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237733AbiKNVY7 (ORCPT + 88 others); Mon, 14 Nov 2022 16:24:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56354 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236919AbiKNVY6 (ORCPT ); Mon, 14 Nov 2022 16:24:58 -0500 Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::223]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1718826D4; Mon, 14 Nov 2022 13:24:56 -0800 (PST) Received: (Authenticated sender: alexandre.belloni@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 17ABD60003; Mon, 14 Nov 2022 21:24:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1668461095; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=GKQQdrBMa6jaD/V+H3nTX/7hgN79VqFbdOW7mE98yJ8=; b=SeN5abbE0PiJPM1O1cLbP7LRmFrceeOXNBFuTsIvcxATsuvIqDpVemLw1EQAFTSqCXsnm+ qJIcAtPurC4kv1JdQO1ZuXpJfPQebxA1MXO9mQEUVMjoRJyH7hSFjvEOo1SSF+csgV3pga tFgJd8NeuedamRZ+osk5YwBP3MdlNdnvj/vIGzvHh7wa9UgChiezcVGbgTpgdn43RUTPs9 LXbaiJPHsm1eGRNIYyVHe+8HnZgeIljeoHd9+Le1+SRDFWwMZ/Z6vVwc73LjDGBSLFnIjj plJpgm3/3T/7BlSzIBOmIyGk8cUIrLzrVuEL/DdiUSPy/2RWdjecQtyGeW9Hkw== Date: Mon, 14 Nov 2022 22:24:54 +0100 From: Alexandre Belloni To: Zhang Jianhua , rasmus.villemoes@prevas.dk, a.zummo@towertech.it Cc: linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH -next] rtc: fsl-ftm-alarm: Use module_platform_driver replace device_initcall Message-ID: <166846107297.2114334.9948794801908458724.b4-ty@bootlin.com> References: <20220906143037.1455317-1-chris.zjh@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220906143037.1455317-1-chris.zjh@huawei.com> X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS 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 On Tue, 6 Sep 2022 22:30:37 +0800, Zhang Jianhua wrote: > The ftm_rtc_driver has been registered while module init, however there > is not unregister step for module exit, now use the macro > module_platform_driver replace device_initcall, which can register and > unregister platform driver automatically. > > Applied, thanks! [1/1] rtc: fsl-ftm-alarm: Use module_platform_driver replace device_initcall commit: 775f42aaf61a4a2ee09a196d8c7d271ef3ba779b Best regards, -- Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com