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=-6.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,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 C5209C4708E for ; Fri, 28 May 2021 09:25:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9FC086127A for ; Fri, 28 May 2021 09:25:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234226AbhE1J1a (ORCPT ); Fri, 28 May 2021 05:27:30 -0400 Received: from mail.kernel.org ([198.145.29.99]:52094 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229911AbhE1J13 (ORCPT ); Fri, 28 May 2021 05:27:29 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 5C06C613AB; Fri, 28 May 2021 09:25:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1622193954; bh=CJ+P7siYbSW1H4BbN8u7+5l/KqaiNpcw83OS+LQEq5A=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=0Y1ZEHZHlnLnfpBJKywP6drxzRJ/uTlks30OxvJv6Q6ircAe0dCdFb4xYSHH14R3I fF1Bs9jWIxFFlsmGXmSMttOYSp3SPC7zJYDekUrNj35aXqT7NRi7WSwUYo4xr3svl7 g33Po+iL4GHR0kSqXey+t9mke/BQIj3J/ciyGZjo= Date: Fri, 28 May 2021 11:25:51 +0200 From: Greg Kroah-Hartman To: Wolfram Sang , Andy Shevchenko Cc: 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: Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org 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. Andy, work to get the driver out of staging first before doing stuff like this. thanks, greg k-h