From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id AEAE7C4167B for ; Fri, 16 Dec 2022 16:08:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231864AbiLPQIk (ORCPT ); Fri, 16 Dec 2022 11:08:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44798 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231540AbiLPQII (ORCPT ); Fri, 16 Dec 2022 11:08:08 -0500 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2F74E42F41; Fri, 16 Dec 2022 08:07:24 -0800 (PST) X-IronPort-AV: E=McAfee;i="6500,9779,10563"; a="320882406" X-IronPort-AV: E=Sophos;i="5.96,249,1665471600"; d="scan'208";a="320882406" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Dec 2022 08:07:24 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10563"; a="649872664" X-IronPort-AV: E=Sophos;i="5.96,249,1665471600"; d="scan'208";a="649872664" Received: from smile.fi.intel.com ([10.237.72.54]) by orsmga002.jf.intel.com with ESMTP; 16 Dec 2022 08:07:19 -0800 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1p6DEy-00AvUt-3A; Fri, 16 Dec 2022 18:07:16 +0200 Date: Fri, 16 Dec 2022 18:07:16 +0200 From: Andy Shevchenko To: Hans de Goede Cc: Mark Gross , Pavel Machek , Lee Jones , Linus Walleij , Daniel Scally , Laurent Pinchart , Mauro Carvalho Chehab , Sakari Ailus , platform-driver-x86@vger.kernel.org, linux-leds@vger.kernel.org, linux-gpio@vger.kernel.org, Kate Hsuan , Mark Pearson , Andy Yeh , Yao Hao , linux-media@vger.kernel.org Subject: Re: [PATCH v3 05/11] leds: led-class: Add generic [devm_]led_get() Message-ID: References: <20221216113013.126881-1-hdegoede@redhat.com> <20221216113013.126881-6-hdegoede@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Precedence: bulk List-ID: X-Mailing-List: linux-leds@vger.kernel.org On Fri, Dec 16, 2022 at 04:54:59PM +0100, Hans de Goede wrote: > On 12/16/22 14:43, Andy Shevchenko wrote: > > On Fri, Dec 16, 2022 at 12:30:07PM +0100, Hans de Goede wrote: ... > >> +EXPORT_SYMBOL_GPL(led_add_lookup); > > > >> +EXPORT_SYMBOL_GPL(led_remove_lookup); > > > > Wondering why we can't make at least those two to be namespaced from day 1, > > switching the LED subsystem code to use module namespaces is > a RFE which is independent of / orthogonal to this patchset. Adding new unnamespaced APIs only delays and increases a burden of the work. We can start already for the logically separated subset of API, no? That's why I asked about this. -- With Best Regards, Andy Shevchenko