From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751751AbdBBPfX (ORCPT ); Thu, 2 Feb 2017 10:35:23 -0500 Received: from metis.ext.4.pengutronix.de ([92.198.50.35]:41587 "EHLO metis.ext.4.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751143AbdBBPfW (ORCPT ); Thu, 2 Feb 2017 10:35:22 -0500 Message-ID: <1486049719.2289.78.camel@pengutronix.de> Subject: Re: [PATCH] reset: make zx2967 explicitly non-modular From: Philipp Zabel To: Paul Gortmaker Cc: linux-kernel@vger.kernel.org, Jun Nie , Baoyou Xie Date: Thu, 02 Feb 2017 16:35:19 +0100 In-Reply-To: <20170202145212.18609-1-paul.gortmaker@windriver.com> References: <20170202145212.18609-1-paul.gortmaker@windriver.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.12.9-1+b1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 2001:67c:670:100:3ad5:47ff:feaf:1a17 X-SA-Exim-Mail-From: p.zabel@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 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2017-02-02 at 09:52 -0500, Paul Gortmaker wrote: > The Kconfig currently controlling compilation of this code is: > > config RESET_ZX2967 > bool "ZTE ZX2967 Reset Driver > > ...meaning that it currently is not being built as a module by anyone. > > Lets remove the couple traces of modular infrastructure use, so that > when reading the driver there is no doubt it is builtin-only. > > Since builtin_platform_driver() was already in use, the init ordering > remains unchanged with this commit. > > Also note that MODULE_DEVICE_TABLE is a no-op for non-modular code. > > We also delete the MODULE_LICENSE tag etc. since all that information > is already contained at the top of the file in the comments. > > We don't replace module.h with init.h since the file does not appear > to use __init prefix anywhere. > > Cc: Jun Nie > Cc: Baoyou Xie > Cc: Philipp Zabel > Signed-off-by: Paul Gortmaker Thank you, applied with Baoyou's Reviewed-by. regards Philipp