Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3098858pxk; Mon, 5 Oct 2020 00:37:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxzugbWLpPQnyss/3RkhsGQjhUYUZG6ULNHSc0PZfeGhCVGUqaBp6YGMd62NM53O4/dxu8M X-Received: by 2002:aa7:c3d4:: with SMTP id l20mr15908349edr.263.1601883463081; Mon, 05 Oct 2020 00:37:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601883463; cv=none; d=google.com; s=arc-20160816; b=QuWvjRtoHWrdyVulVghV2/2eqXwpNq0MmLTskdpsXVfW5I4M1lhY3KsUCN0iGDXRCe eDqwxGecT8BKJJTP4d9AmnrosFlccSsLraKjr/TcyX8757cEg++xgHJEfSIA5ZGxgrJz Ls8zBsVsVbltWeNjoctqib1/4a4ApxUENhCsQ/aXxZ2wt+NvXBuGaHUt2iBa7/XorvoJ 2mS4Eklui/Bv2YUBI3FtSiz+d5goW+6+yhM+0duf84cvcummDdxTfNZC8jtVvOkqoCMf q9DOc9qXz1brn+A30AoZX9pxeKV1pIper/BpBRQBXNCcqY3sjGa7lDW/dH0ru9gm15oJ 0zVg== 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; bh=pG30bvQZIBrWo+gencQlrd7MOuudt9YN3qwmzN8O/UY=; b=NQaZv67bc5VHcaeSnmhmthhvgGQxpyw5wudBw25cu3/0F/RwN0wJL/xA7EWXWe6O9x 6gSTlnVjXAtAK8vfj3ekXPcZ5Te7RRE8Vc5YQCUZeqwEPAnTHhJ8p908ZM5gsIFE3NQE E9WgdGIVoogsGmf579hxUD7jqTK6hP6nH01xrYOh83hd5RDg5peol8Tn5zn6t4eEacTb JZhJETpq4eyYxWdt63udNBp9+KOVxxTGynRY/w2z5xgzrJO0ypKGRZeuhnC8TzPSro6Z 3C7UQMAxuBALJev4jo9k8qGa3ichWiyCRDq3FK7ZUtiYGmW8f/L0MXeCKqf6qJKxdtIY MHZQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u2si6413895edd.517.2020.10.05.00.37.20; Mon, 05 Oct 2020 00:37:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725896AbgJEHgO (ORCPT + 99 others); Mon, 5 Oct 2020 03:36:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59972 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725875AbgJEHgO (ORCPT ); Mon, 5 Oct 2020 03:36:14 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CD612C0613CE for ; Mon, 5 Oct 2020 00:36:13 -0700 (PDT) Received: from pty.hi.pengutronix.de ([2001:67c:670:100:1d::c5]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kPL2F-0004xR-10; Mon, 05 Oct 2020 09:35:51 +0200 Received: from ukl by pty.hi.pengutronix.de with local (Exim 4.89) (envelope-from ) id 1kPL23-0001St-3I; Mon, 05 Oct 2020 09:35:39 +0200 Date: Mon, 5 Oct 2020 09:35:38 +0200 From: Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= To: Jonathan =?utf-8?Q?Neusch=C3=A4fer?= Cc: Alexandre Belloni , Heiko Stuebner , devicetree@vger.kernel.org, Linus Walleij , Thierry Reding , Sam Ravnborg , linux-rtc@vger.kernel.org, Arnd Bergmann , Mauro Carvalho Chehab , Fabio Estevam , Daniel Palmer , Andy Shevchenko , Andreas Kemnade , NXP Linux Team , linux-pwm@vger.kernel.org, Stephan Gerhold , allen , Sascha Hauer , Lubomir Rintel , Rob Herring , Lee Jones , linux-arm-kernel@lists.infradead.org, Alessandro Zummo , linux-kernel@vger.kernel.org, Mark Brown , Pengutronix Kernel Team , Heiko Stuebner , Josua Mayer , Shawn Guo , "David S. Miller" Subject: Re: [PATCH v3 5/7] rtc: New driver for RTC in Netronix embedded controller Message-ID: <20201005073538.g37j3tfc7q4gifdz@pengutronix.de> References: <20200924192455.2484005-1-j.neuschaefer@gmx.net> <20200924192455.2484005-6-j.neuschaefer@gmx.net> <20200925054424.snlr3lggnsv575wu@pengutronix.de> <20201004014323.GD500800@latitude> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ve23n3n3k4nkv36h" Content-Disposition: inline In-Reply-To: <20201004014323.GD500800@latitude> X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c5 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --ve23n3n3k4nkv36h Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello Jonathan, On Sun, Oct 04, 2020 at 03:43:23AM +0200, Jonathan Neusch=E4fer wrote: > On Fri, Sep 25, 2020 at 07:44:24AM +0200, Uwe Kleine-K=F6nig wrote: > > > +static struct platform_driver ntxec_rtc_driver =3D { > > > + .driver =3D { > > > + .name =3D "ntxec-rtc", > > > + }, > > > + .probe =3D ntxec_rtc_probe, > >=20 > > No .remove function? >=20 > I don't think it would serve a purpose in this driver. There are no > device-specific resources to release (no clocks to unprepare, for > example). I had in mind that without a .remove callback the driver cannot detach. but looking in the code (drivers/base/platform.c) this seems wrong. So my concern can be considered void. Best regards Uwe --=20 Pengutronix e.K. | Uwe Kleine-K=F6nig | Industrial Linux Solutions | https://www.pengutronix.de/ | --ve23n3n3k4nkv36h Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEfnIqFpAYrP8+dKQLwfwUeK3K7AkFAl96zMcACgkQwfwUeK3K 7AkG8wf+MDL1PUfowGS0UkWxYzb50CA1v9Z1Bx0aEmXSf9HVA6T8xsjxQwsDQXS5 Q3pzcQbjH1uGtttynGQPFMlc78UfIAktFUQmL2CjGTpNtbo/V0ljUJPWDt71Y2L1 ZMOfiC1KwjRgIdlNz3DHDbNcwZ9i3BcQ26Ua2vfPqL4cxnBuSmTxMerScJcio7bq PH2zr2+7B3c03j1hdXhpnsbegbN8nc6ktjyDh/yOmPyz34wdBHExMkITFIf4IXX1 Qrez1zwcPayzDzE25VR6w1rdyvHhg1Zh9hz8tU+ixJmuIXyoUql+nTeepAd8uJZk wowaWSYgMq53Vg02xGLMUHGVzFCc1g== =0UxN -----END PGP SIGNATURE----- --ve23n3n3k4nkv36h--