From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754000AbdBGLYK convert rfc822-to-8bit (ORCPT ); Tue, 7 Feb 2017 06:24:10 -0500 Received: from mx0b-0016f401.pphosted.com ([67.231.156.173]:35752 "EHLO mx0b-0016f401.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752141AbdBGLYI (ORCPT ); Tue, 7 Feb 2017 06:24:08 -0500 Date: Tue, 7 Feb 2017 19:19:24 +0800 From: Jisheng Zhang To: Paul Gortmaker CC: , Linus Walleij , Antoine =?UTF-8?B?VMOpbmFydA==?= , Sebastian Hesselbarth , Hongzhou Yang , Thomas Hebb , "Masahiro Yamada" , Subject: Re: [PATCH 3/3] pinctrl: berlin: make bool drivers explicitly non-modular Message-ID: <20170207191924.7c3ff350@xhacker> In-Reply-To: <20170206080352.17808-4-paul.gortmaker@windriver.com> References: <20170206080352.17808-1-paul.gortmaker@windriver.com> <20170206080352.17808-4-paul.gortmaker@windriver.com> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-02-07_06:,, signatures=0 X-Proofpoint-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=2 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1612050000 definitions=main-1702070112 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 6 Feb 2017 03:03:52 -0500 Paul Gortmaker wrote: > None of the Kconfigs for any of these drivers are tristate, > meaning that they currently are not being built as a module by anyone. > > Lets remove the modular code that is essentially orphaned, so that > when reading the driver there is no doubt it is builtin-only. > > Since module_platform_driver() uses the same init level priority as > builtin_platform_driver() 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. > > Cc: Linus Walleij > Cc: "Antoine Ténart" > Cc: Sebastian Hesselbarth > Cc: Jisheng Zhang > Cc: Hongzhou Yang > Cc: Thomas Hebb > Cc: Masahiro Yamada > Cc: linux-gpio@vger.kernel.org > Signed-off-by: Paul Gortmaker Acked-by: Jisheng Zhang