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 X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EF2FEC47087 for ; Fri, 28 May 2021 09:34:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D0FBE60E0B for ; Fri, 28 May 2021 09:34:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235956AbhE1JgK (ORCPT ); Fri, 28 May 2021 05:36:10 -0400 Received: from mga17.intel.com ([192.55.52.151]:6659 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235526AbhE1JgJ (ORCPT ); Fri, 28 May 2021 05:36:09 -0400 IronPort-SDR: /SaKLMw/jUIwJNaJK3b5Oy3fFjQRTj3zm/p1Wg4Lq5xMnH4NWBD7poX1w/po088D5ueFsWr35f mZwCeaiv3peA== X-IronPort-AV: E=McAfee;i="6200,9189,9997"; a="183267172" X-IronPort-AV: E=Sophos;i="5.83,229,1616482800"; d="scan'208";a="183267172" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 May 2021 02:34:32 -0700 IronPort-SDR: uB+8xYzoqucfKoRlgcPZPfMoWDR0sWUKEK/wrZ/nqFlwTj+F6xJJ7fiV6iEKowckLbTzfDkcjQ zs+Dt78+3+Dw== X-IronPort-AV: E=Sophos;i="5.83,229,1616482800"; d="scan'208";a="443938483" Received: from smile.fi.intel.com (HELO smile) ([10.237.68.40]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 May 2021 02:34:29 -0700 Received: from andy by smile with local (Exim 4.94) (envelope-from ) id 1lmYss-00FHPQ-JM; Fri, 28 May 2021 12:34:26 +0300 Date: Fri, 28 May 2021 12:34:26 +0300 From: Andy Shevchenko To: Greg Kroah-Hartman Cc: Wolfram Sang , Hans de Goede , Mauro Carvalho Chehab , linux-i2c@vger.kernel.org, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-staging@lists.linux.dev, Mika Westerberg , Mauro Carvalho Chehab , Sakari Ailus Subject: Re: [PATCH v1 1/6] i2c: acpi: Export i2c_acpi_find_client_by_adev() for users Message-ID: References: <20210526124322.48915-1-andriy.shevchenko@linux.intel.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-media@vger.kernel.org On Fri, May 28, 2021 at 11:25:51AM +0200, Greg Kroah-Hartman wrote: > On Thu, May 27, 2021 at 10:26:33PM +0200, Wolfram Sang wrote: > > On Wed, May 26, 2021 at 03:43:17PM +0300, Andy Shevchenko wrote: > > > There is at least one user that will gain from the > > > i2c_acpi_find_client_by_adev() being exported. > > > > No objections per se. But as the user is in staging, I want to ask if > > the use there is really a solution we would also accept outside of > > staging? Or is it a hack? > > staging drivers should be self-contained, do not accept code in the core > kernel that only is used by staging drivers. > > So I would not recommend this be accepted at this point in time. Fair enough. > Andy, work to get the driver out of staging first before doing stuff > like this. Okay, I'll drop first one and patches related to it in the v2. It should bring us closer to the mentioned point. Thanks for clarification! -- With Best Regards, Andy Shevchenko