From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752318AbdBIJHJ (ORCPT ); Thu, 9 Feb 2017 04:07:09 -0500 Received: from smtp3-g21.free.fr ([212.27.42.3]:50711 "EHLO smtp3-g21.free.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751894AbdBIJFE (ORCPT ); Thu, 9 Feb 2017 04:05:04 -0500 Date: Thu, 9 Feb 2017 10:03:34 +0100 From: Alban To: Paul Gortmaker Cc: Alban , , Philipp Zabel Subject: Re: [PATCH 1/4] reset: ath79: make it explicitly non-modular Message-ID: <20170209100334.462049d5@avionic-0020> In-Reply-To: <20170208001847.9887-2-paul.gortmaker@windriver.com> References: <20170208001847.9887-1-paul.gortmaker@windriver.com> <20170208001847.9887-2-paul.gortmaker@windriver.com> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/T.DztORNW2NKd8Foe=hT1zo"; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/T.DztORNW2NKd8Foe=hT1zo Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Tue, 7 Feb 2017 19:18:44 -0500 Paul Gortmaker wrote: > The Kconfig currently controlling compilation of this code is: >=20 > drivers/reset/Kconfig:config RESET_ATH79 > drivers/reset/Kconfig: bool "AR71xx Reset Driver" if COMPILE_TEST >=20 > ...meaning that it currently is not being built as a module by anyone. >=20 > Lets remove the modular code that is essentially orphaned, so that > when reading the driver there is no doubt it is builtin-only. >=20 > We explicitly disallow a driver unbind, since that doesn't have a > sensible use case anyway, and it allows us to drop the ".remove" > code for non-modular drivers. >=20 > Since module_platform_driver() uses the same init level priority as > builtin_platform_driver() the init ordering remains unchanged with > this commit. >=20 > Also note that MODULE_DEVICE_TABLE is a no-op for non-modular code. >=20 > We also delete the MODULE_LICENSE tag etc. since all that information > was (or is now) contained at the top of the file in the comments. >=20 > Cc: Philipp Zabel > Cc: Alban Bedel > Signed-off-by: Paul Gortmaker Acked-by: Alban Bedel --Sig_/T.DztORNW2NKd8Foe=hT1zo Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJYnDBmAAoJEHSUmkuduC28oD8QAKnzVJIvro4bicW/MYEYUv+s Lw7Fu4XXRbq/0f4wzmAO8AKuOW52hWUnvNj/1KHn17u8pDIYRxxgOvabvK/ITsL1 cZs7EzS90LX384+hXEhRkVREUZ0KnsbbyLASvvh0MxPE9ElUJLGAK5T9bqxHCstn oowhGT9Ccsm6wxVq3rQsjwgEFkziUmZSd8amJmyVaxAL/QNLgodtCxBc0/CDqtxZ tTpQksTL+yRU1JAN9TV8lFMwsQXs4YEvZwNkcfw0DPOk+dcobvaE+5epe6PDeTef gLp36Unpkvfw48YJGOMDXnTPXTwy/7g//87hU9Db9IRtJvwNedGhUkUePIiopJu8 E97EOLbL6Z+aOIO/B4YOCfpEnSkPB1hr8WD80RxG+S3ztVsZ7VetLlucSQMvjUVJ X3/EU9NzBKrmQESZ86Q/Y4bh20VQp7kDThq9kbdy2x+3QrecEsSKL6MK1r9prWRh na8lr3EZWir1r16ZgLFOXfvBR7ZWgeTfwmeX2UEcqpjYGtZ+PK8ZpQ3hGDNmCwlL QQ2c9omJkgmqTvGRt8s5Rjusdy3tjpdVa7nYaT/vUNS0Ov+zYN2MX2MIa12z5tcx cf9DgrToVsDa3JGF+WCgyPcCV18VnOoC6ZyYQ6k+k2ltzplRQBBWBMHfwKIEaegV 8U6vO26rYGMsTYtoTSzq =z1TC -----END PGP SIGNATURE----- --Sig_/T.DztORNW2NKd8Foe=hT1zo--