From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754415AbbCISlE (ORCPT ); Mon, 9 Mar 2015 14:41:04 -0400 Received: from cpsmtpb-ews04.kpnxchange.com ([213.75.39.7]:61224 "EHLO cpsmtpb-ews04.kpnxchange.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754332AbbCISlA (ORCPT ); Mon, 9 Mar 2015 14:41:00 -0400 Message-ID: <1425926456.2317.13.camel@tiscali.nl> Subject: Re: [PATCH v5 3/8] pinctrl: cygnus: add initial IOMUX driver support From: Paul Bolle To: Linus Walleij Cc: Ray Jui , Alexandre Courbot , Stephen Warren , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Grant Likely , Christian Daudt , Matt Porter , Florian Fainelli , Russell King , Arnd Bergmann , Scott Branden , Dmitry Torokhov , Anatol Pomazau , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-gpio@vger.kernel.org" , bcm-kernel-feedback-list , "devicetree@vger.kernel.org" Date: Mon, 09 Mar 2015 19:40:56 +0100 In-Reply-To: References: <1425515756-321-1-git-send-email-rjui@broadcom.com> <1425515756-321-4-git-send-email-rjui@broadcom.com> <1425542612.24292.180.camel@x220> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.12.11 (3.12.11-1.fc21) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 09 Mar 2015 18:40:57.0880 (UTC) FILETIME=[9538C980:01D05A98] X-RcptDomain: vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Linus Walleij schreef op ma 09-03-2015 om 17:28 [+0100]: > I think you're right. Or I fear you're right. > > But this problem is present in so many drivers that a generic > fixup needs to be done with a script and across an entire subsystem > at once, Why don't we start with checking for similar cases during review, like I'm now doing for only a week or two? > and besides I'm not sure of these macros disturb so much. I think they're confusing at best. Ie, when reading the code and the corresponding Kconfig file one has to wonder: should the Kconfig symbol actually be tristate or should it stay bool but did someone forget to delete the module-specific code? > They are documentation in a sense, albeit a kind of documentation > we used before we had git to record the actual authors of the > code. They're useful, mostly, for module utilities. Outside that scope they add information that thousands of files (that can also only be built-in but do not have these macros) do not have and, apparently, do not need. Thanks, Paul Bolle